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