Delen via


CodeGenerationUtilities.GetDiagramElementForDecoratorMap Method

Gets the diagram element associated with the shape or connector map that defines a decorator map.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetDiagramElementForDecoratorMap ( _
    decoratorMap As DecoratorMap _
) As DiagramElement
public static DiagramElement GetDiagramElementForDecoratorMap(
    DecoratorMap decoratorMap
)
public:
static DiagramElement^ GetDiagramElementForDecoratorMap(
    DecoratorMap^ decoratorMap
)
static member GetDiagramElementForDecoratorMap : 
        decoratorMap:DecoratorMap -> DiagramElement
public static function GetDiagramElementForDecoratorMap(
    decoratorMap : DecoratorMap
) : DiagramElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace