DiagramElementHasDecorators.GetLink Method
Get the one DiagramElementHasDecorators link between a given DiagramElementand a Decorator.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Shared Function GetLink ( _
source As DiagramElement, _
target As Decorator _
) As DiagramElementHasDecorators
public static DiagramElementHasDecorators GetLink(
DiagramElement source,
Decorator target
)
public:
static DiagramElementHasDecorators^ GetLink(
DiagramElement^ source,
Decorator^ target
)
static member GetLink :
source:DiagramElement *
target:Decorator -> DiagramElementHasDecorators
public static function GetLink(
source : DiagramElement,
target : Decorator
) : DiagramElementHasDecorators
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators
.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.