共用方式為


DslHasDiagram.SetDiagram Method

Sets Diagram.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
Public Shared Sub SetDiagram ( _
    element As Dsl, _
    newDiagram As Diagram _
)
public static void SetDiagram(
    Dsl element,
    Diagram newDiagram
)
public:
static void SetDiagram(
    Dsl^ element, 
    Diagram^ newDiagram
)
static member SetDiagram : 
        element:Dsl * 
        newDiagram:Diagram -> unit 
public static function SetDiagram(
    element : Dsl, 
    newDiagram : Diagram
)

Parameters

.NET Framework Security

See Also

Reference

DslHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace