Share via


DiagramElementHasDecorators.GetLinkToDiagramElement Method

Get the DiagramElementHasDecorators 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 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

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators

.NET Framework Security

See Also

Reference

DiagramElementHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace