Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets elements related to this element by relationships of the specified type.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static IEnumerable<IElement> GetRelatedElements<T>(
this IElement element
)
where T : IRelationship
public:
generic<typename T>
where T : IRelationship
[ExtensionAttribute]
static IEnumerable<IElement^>^ GetRelatedElements(
IElement^ element
)
static member GetRelatedElements<'T when 'T : IRelationship> :
element:IElement -> IEnumerable<IElement>
<ExtensionAttribute>
Public Shared Function GetRelatedElements(Of T As IRelationship) (
element As IElement
) As IEnumerable(Of IElement)
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.
See Also
UmlExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top