DesignerHasDiagram.SetDiagram Method

Sets Diagram.

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 Sub SetDiagram ( _
    element As Designer, _
    newDiagram As Diagram _
)
public static void SetDiagram(
    Designer element,
    Diagram newDiagram
)
public:
static void SetDiagram(
    Designer^ element, 
    Diagram^ newDiagram
)
static member SetDiagram : 
        element:Designer * 
        newDiagram:Diagram -> unit
public static function SetDiagram(
    element : Designer, 
    newDiagram : Diagram
)

Parameters

.NET Framework Security

See Also

Reference

DesignerHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace