다음을 통해 공유


DiagramHasShapeMaps.SetDiagram Method

Sets Diagram.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

DiagramHasShapeMaps Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace