DslDefinesEditor.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 Editor, _
newDsl As Dsl _
)
public static void SetDsl(
Editor element,
Dsl newDsl
)
public:
static void SetDsl(
Editor^ element,
Dsl^ newDsl
)
static member SetDsl :
element:Editor *
newDsl:Dsl -> unit
public static function SetDsl(
element : Editor,
newDsl : Dsl
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Editor
- 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.