ProjectElementContainer.AllChildren Property

Definition

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

C#
public System.Collections.Generic.IEnumerable<Microsoft.Build.Construction.ProjectElement> AllChildren { get; }
C#
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; }

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

Proizvod Verzije
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17