共用方式為


StateMachineWorkflowInstance.States 屬性

定義

取得 StateActivity 中的 StateMachineWorkflow 類別清單。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::Activities::StateActivity ^> ^ States { System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::Activities::StateActivity ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.Activities.StateActivity> States { get; }
member this.States : System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.Activities.StateActivity>
Public ReadOnly Property States As ReadOnlyCollection(Of StateActivity)

屬性值

StateActivity 中的 StateMachineWorkflow 類別清單。

例外狀況

StateMachineWorkflow 為 null 參考 (在 Visual Basic 為 Nothing)。

適用於