ExtensionExtendsElement.GetLink Method
Get the one ExtensionExtendsElement link between a given ExtensionElementand a ModelElement.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Function GetLink ( _
source As ExtensionElement, _
target As ModelElement _
) As ExtensionExtendsElement
public static ExtensionExtendsElement GetLink(
ExtensionElement source,
ModelElement target
)
public:
static ExtensionExtendsElement^ GetLink(
ExtensionElement^ source,
ModelElement^ target
)
static member GetLink :
source:ExtensionElement *
target:ModelElement -> ExtensionExtendsElement
public static function GetLink(
source : ExtensionElement,
target : ModelElement
) : ExtensionExtendsElement
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.ExtensionElement
- target
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: Microsoft.VisualStudio.Modeling.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.