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