ExtensionExtendsElement.GetLinks Method
Get any ExtensionExtendsElement links between a given ExtensionElement and a ModelElement.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
- source
Type: Microsoft.VisualStudio.Modeling.ExtensionElement
- target
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: ReadOnlyCollection<ExtensionExtendsElement>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.