Activity.Parent 属性

定义

获取包含此 CompositeActivityActivityGets 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

属性值

CompositeActivity

作为此 Activity 的父级的 ActivityThe Activity that is a parent to this Activity.

属性

注解

Nothing如果 Activity 是工作流或根,则 Visual Basic) 中 (返回空引用 ActivityReturns a null reference(Nothing in Visual Basic) if Activity is a workflow or a root Activity.

适用于