Activity.Parent Property 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.CompositeActivityPublic ReadOnly Property Parent As CompositeActivityProperty 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.