共用方式為


DepthFirstElementAndLinkWalker.GetRelatedElements(ModelElement) Method

Definition

Get the list of related elements

protected:
 override System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetRelatedElements(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected override System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> GetRelatedElements (Microsoft.VisualStudio.Modeling.ModelElement element);
override this.GetRelatedElements : Microsoft.VisualStudio.Modeling.ModelElement -> System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement>
Protected Overrides Function GetRelatedElements (element As ModelElement) As IList(Of ModelElement)

Parameters

element
ModelElement

ModelElement to query for its related elements

Returns

Applies to