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
- decoratorMap
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorMap
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement
.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.