EditorHasValidation.SetValidation(Editor, Validation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets Validation.
public:
static void SetValidation(Microsoft::VisualStudio::Modeling::DslDefinition::Editor ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::Validation ^ newValidation);
[System.Diagnostics.DebuggerStepThrough]
public static void SetValidation (Microsoft.VisualStudio.Modeling.DslDefinition.Editor element, Microsoft.VisualStudio.Modeling.DslDefinition.Validation newValidation);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetValidation : Microsoft.VisualStudio.Modeling.DslDefinition.Editor * Microsoft.VisualStudio.Modeling.DslDefinition.Validation -> unit
Public Shared Sub SetValidation (element As Editor, newValidation As Validation)
Parameters
- element
- Editor
- newValidation
- Validation
- Attributes