DiagramElementHasDecorators.GetLinkToDiagramElement Method
Get the DiagramElementHasDecorators link to 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
'Declaration
Public Shared Function GetLinkToDiagramElement ( _
decoratorInstance As Decorator _
) As DiagramElementHasDecorators
public static DiagramElementHasDecorators GetLinkToDiagramElement(
Decorator decoratorInstance
)
public:
static DiagramElementHasDecorators^ GetLinkToDiagramElement(
Decorator^ decoratorInstance
)
static member GetLinkToDiagramElement :
decoratorInstance:Decorator -> DiagramElementHasDecorators
public static function GetLinkToDiagramElement(
decoratorInstance : Decorator
) : DiagramElementHasDecorators
Parameters
- decoratorInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
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.