ModelElement::GetAllExtensions Method (ModelElement^)
Visual Studio 2015
Return an enumerable that performs a breadth first traversal across the tree of extension elements embedded in the specified ModelElement.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Parameters
- element
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The ModelElement whose extensions are to be enumerated
Return Value
Type: System.Collections.Generic::IEnumerable<ExtensionElement^>^Breadth-first enumerable across all ExtensionElements
If the specified ModelElement is itself an ExtensionElement then only the direct and indirect extensions of that extension are included. To enumerate all extensions in a "virtual MEL" call GetBaseElement() to get the base MEL and then GetAllExtensions() against that.
Show: