ProjectElement.AllParents Property

Definition

All parent elements of this element, going up to the ProjectRootElement. None if this itself is a ProjectRootElement. None if this itself has not been attached to a parent yet.

C#
public System.Collections.Generic.IEnumerable<Microsoft.Build.Construction.ProjectElementContainer> AllParents { get; }

Property Value

An enumerator over all parent elements. There are no parents elements if the project element is a ProjectRootElement or if this is not yet attached to a parent element.

Applies to

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17