Delen via


ExtensionExtendsElement.GetLinks Method

Get any ExtensionExtendsElement links between a given ExtensionElement and a ModelElement.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Shared Function GetLinks ( _
    source As ExtensionElement, _
    target As ModelElement _
) As ReadOnlyCollection(Of ExtensionExtendsElement)
public static ReadOnlyCollection<ExtensionExtendsElement> GetLinks(
    ExtensionElement source,
    ModelElement target
)
public:
static ReadOnlyCollection<ExtensionExtendsElement^>^ GetLinks(
    ExtensionElement^ source, 
    ModelElement^ target
)
static member GetLinks : 
        source:ExtensionElement * 
        target:ModelElement -> ReadOnlyCollection<ExtensionExtendsElement> 
public static function GetLinks(
    source : ExtensionElement, 
    target : ModelElement
) : ReadOnlyCollection<ExtensionExtendsElement>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ExtensionExtendsElement>

.NET Framework Security

See Also

Reference

ExtensionExtendsElement Class

Microsoft.VisualStudio.Modeling Namespace