Share via


ProjectElementContainer.AllChildren Property

Definition

Get an enumerator over all descendants in a depth-first manner.

public:
 property System::Collections::Generic::IEnumerable<Microsoft::Build::Construction::ProjectElement ^> ^ AllChildren { System::Collections::Generic::IEnumerable<Microsoft::Build::Construction::ProjectElement ^> ^ get(); };
public System.Collections.Generic.IEnumerable<Microsoft.Build.Construction.ProjectElement> AllChildren { get; }
public System.Collections.Generic.IEnumerable<Microsoft.Build.Construction.ProjectElement> AllChildren { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.AllChildren : seq<Microsoft.Build.Construction.ProjectElement>
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.AllChildren : seq<Microsoft.Build.Construction.ProjectElement>
Public ReadOnly Property AllChildren As IEnumerable(Of ProjectElement)

Property Value

A recursive depth-first enumerator over all child elements.

Attributes

Remarks

Recursion is possible because project element containers may contain children that are themselves project element containers.

Applies to