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