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
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
- newDsl
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Dsl
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.