共用方式為


DslHasDiagram.SetDsl Method

Sets Dsl.

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 SetDsl ( _
    element As Diagram, _
    newDsl As Dsl _
)
public static void SetDsl(
    Diagram element,
    Dsl newDsl
)
public:
static void SetDsl(
    Diagram^ element, 
    Dsl^ newDsl
)
static member SetDsl : 
        element:Diagram * 
        newDsl:Dsl -> unit 
public static function SetDsl(
    element : Diagram, 
    newDsl : Dsl
)

Parameters

.NET Framework Security

See Also

Reference

DslHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace