UmlExtensions.GetRelatedLinks<T> Method (IElement)


Gets relationships of a specified type from or to this element.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)


public static IEnumerable<T> GetRelatedLinks<T>(
    this IElement element
where T : IRelationship
generic<typename T>
where T : IRelationship
static IEnumerable<T>^ GetRelatedLinks(
    IElement^ element
static member GetRelatedLinks<'T when 'T : IRelationship> : 
        element:IElement -> IEnumerable<'T>
Public Shared Function GetRelatedLinks(Of T As IRelationship) (
    element As IElement
) As IEnumerable(Of T)


Return Value

Type: System.Collections.Generic.IEnumerable<T>

Type Parameters

  • T
    IRelationship or one of its subtypes.

See Also

UmlExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top