DesignerHasDiagram.GetDiagram Method
Gets Diagram.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Shared Function GetDiagram ( _
element As Designer _
) As Diagram
public static Diagram GetDiagram(
Designer element
)
public:
static Diagram^ GetDiagram(
Designer^ element
)
static member GetDiagram :
element:Designer -> Diagram
public static function GetDiagram(
element : Designer
) : Diagram
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Designer
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
.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.