StateMachineWorkflowInstance.States Property

Definition

Gets a list of StateActivity classes in the 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)

Property Value

A list of StateActivity classes in the StateMachineWorkflow.

Exceptions

The StateMachineWorkflow is a null reference (Nothing in Visual Basic).

Applies to