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