Compartilhar via


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.

public:
 property System::Collections::Generic::IEnumerable<Microsoft::Build::Construction::ProjectElementContainer ^> ^ AllParents { System::Collections::Generic::IEnumerable<Microsoft::Build::Construction::ProjectElementContainer ^> ^ get(); };
public System.Collections.Generic.IEnumerable<Microsoft.Build.Construction.ProjectElementContainer> AllParents { get; }
member this.AllParents : seq<Microsoft.Build.Construction.ProjectElementContainer>
Public ReadOnly Property AllParents As IEnumerable(Of ProjectElementContainer)

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