IValidator.Validate(ValidationContext) 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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Evaluates the condition it checks and updates the validation context.
public System.ComponentModel.DataAnnotations.ValidationResult Validate (System.ComponentModel.DataAnnotations.ValidationContext validationContext);
abstract member Validate : System.ComponentModel.DataAnnotations.ValidationContext -> System.ComponentModel.DataAnnotations.ValidationResult
Public Function Validate (validationContext As ValidationContext) As ValidationResult
Parameters
- validationContext
- ValidationContext
The validation context.
Returns
The condition it checks and updates the validation context.