ModelElementExtensionMethods.GetAllExtensions(ModelElement) Method
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.
Return an enumerable that performs a breadth first traversal across the tree of extension elements embedded in this ModelElement.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ExtensionElement ^> ^ GetAllExtensions(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public static System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ExtensionElement> GetAllExtensions (this Microsoft.VisualStudio.Modeling.ModelElement element);
static member GetAllExtensions : Microsoft.VisualStudio.Modeling.ModelElement -> seq<Microsoft.VisualStudio.Modeling.ExtensionElement>
<Extension()>
Public Function GetAllExtensions (element As ModelElement) As IEnumerable(Of ExtensionElement)
Parameters
- element
- ModelElement
The ModelElement whose extensions are to be enumerated
Returns
Breadth-first enumerable across all ExtensionElements