ProjectElement.Parent Property


Null if this is a ProjectRootElement.

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public ProjectElementContainer Parent {
	internal set;

Property Value

Type: Microsoft.Build.Construction.ProjectElementContainer

Returns the project element container that contains this project.

Parent should only be set by ProjectElementContainer.

Return to top