Partager via


ProjectElement.Parent Property

Definition

Null if this is a ProjectRootElement. Null if this has not been attached to a parent yet.

public:
 property Microsoft::Build::Construction::ProjectElementContainer ^ Parent { Microsoft::Build::Construction::ProjectElementContainer ^ get(); };
public Microsoft.Build.Construction.ProjectElementContainer Parent { get; }
public Microsoft.Build.Construction.ProjectElementContainer Parent { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.Parent : Microsoft.Build.Construction.ProjectElementContainer
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Parent : Microsoft.Build.Construction.ProjectElementContainer
Public ReadOnly Property Parent As ProjectElementContainer

Property Value

The project element container that contains this project.

Attributes

Remarks

Parent should only be set by ProjectElementContainer.

Applies to