ShapeHasDecorators.GetLinkToShape Method
Get the ShapeHasDecorators link to 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 GetLinkToShape ( _
decoratorInstance As Decorator _
) As ShapeHasDecorators
public static ShapeHasDecorators GetLinkToShape(
Decorator decoratorInstance
)
public:
static ShapeHasDecorators^ GetLinkToShape(
Decorator^ decoratorInstance
)
static member GetLinkToShape :
decoratorInstance:Decorator -> ShapeHasDecorators
public static function GetLinkToShape(
decoratorInstance : Decorator
) : ShapeHasDecorators
Parameters
- decoratorInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
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.