Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

[BrowsableAttribute(false)]
public CompositeActivity Parent { get; }

Property Value

Type: System.Workflow.ComponentModel.CompositeActivity
The Activity that is a parent to this Activity.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft