共用方式為


ExtensionExtendsElement.GetLinks Method

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

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

Syntax

'宣告
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