Activity::Parent Property


Gets the CompositeActivity that contains this Activity.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

property CompositeActivity^ Parent {
	CompositeActivity^ get();

Property Value

Type: System.Workflow.ComponentModel::CompositeActivity^

The Activity that is a parent to this Activity.

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

.NET Framework
Available since 3.0
Return to top