Freigeben über


EditorHasValidation.SetValidation(Editor, Validation) Method

Definition

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

Applies to