DiagramElementHasDecorators.GetDiagramElement Method
Gets DiagramElement.
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 GetDiagramElement ( _
element As Decorator _
) As DiagramElement
public static DiagramElement GetDiagramElement(
Decorator element
)
public:
static DiagramElement^ GetDiagramElement(
Decorator^ element
)
static member GetDiagramElement :
element:Decorator -> DiagramElement
public static function GetDiagramElement(
element : Decorator
) : DiagramElement
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Decorator
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.