共用方式為


ModelElementExtensionMethods.GetAllExtensions(ModelElement) Method

Definition

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

Applies to