DepthFirstElementAndLinkWalker.GetRelatedElements(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.
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