Share via


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

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators

.NET Framework Security

See Also

Reference

ShapeHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace