我正在尝试向现有集合添加新行/值。但它在添加行后显示相同的旧结果。
//代码
Using CustomActionWorkflow As New CustomActionWorkflow()
CustomActionWorkflow.WorkflowId = Me.WorkflowId
CustomActionWorkflow.CustomActionId = Me.CustomActionId
Me.CustomActionsController.CustomActionsWorkflowCollection.ToList().Add(CustomActionWorkflow)
End Using
我哪里错了?