共用方式為


DesignerHasDiagram.SetDiagram(Designer, Diagram) Method

Definition

Sets Diagram.

public:
 static void SetDiagram(Microsoft::VisualStudio::Modeling::DslDefinition::Designer ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::Diagram ^ newDiagram);
[System.Diagnostics.DebuggerStepThrough]
public static void SetDiagram (Microsoft.VisualStudio.Modeling.DslDefinition.Designer element, Microsoft.VisualStudio.Modeling.DslDefinition.Diagram newDiagram);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetDiagram : Microsoft.VisualStudio.Modeling.DslDefinition.Designer * Microsoft.VisualStudio.Modeling.DslDefinition.Diagram -> unit
Public Shared Sub SetDiagram (element As Designer, newDiagram As Diagram)

Parameters

element
Designer
newDiagram
Diagram
Attributes

Applies to