ProjectElement.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.
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.