UmlExtensions::GetRelatedElements<T> Method (IElement^)
Visual Studio 2015
Gets elements related to this element by relationships of the specified type.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: generic<typename T> where T : IRelationship [ExtensionAttribute] static IEnumerable<IElement^>^ GetRelatedElements( IElement^ element )
Parameters
- element
- Type: Microsoft.VisualStudio.Uml.Classes::IElement^
Return Value
Type: System.Collections.Generic::IEnumerable<IElement^>^Type Parameters
- T
IRelationship or one of its subtypes.
Show: