Redigera

Dela via


Activity.Parent Property

Definition

Gets the CompositeActivity that contains this Activity.

public:
 property System::Workflow::ComponentModel::CompositeActivity ^ Parent { System::Workflow::ComponentModel::CompositeActivity ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Workflow.ComponentModel.CompositeActivity Parent { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Parent : System.Workflow.ComponentModel.CompositeActivity
Public ReadOnly Property Parent As CompositeActivity

Property Value

The Activity that is a parent to this Activity.

Attributes

Remarks

Returns a null reference(Nothing in Visual Basic) if Activity is a workflow or a root Activity.

Applies to