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