Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProjectElementContainer.AllChildren Property

Gets a recursive depth-first enumerator over all child elements.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public IEnumerable<ProjectElement> AllChildren { get; }

Property Value

Type: IEnumerable<ProjectElement>
Returns a recursive depth-first enumerator over all child elements.

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

Show:
© 2015 Microsoft