Parent Property

Activity.Parent Property


Gets the CompositeActivity that contains this Activity.

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

public CompositeActivity Parent { 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
© 2015 Microsoft