MembershipPasswordAttribute.IsValid(Object, ValidationContext) MembershipPasswordAttribute.IsValid(Object, ValidationContext) MembershipPasswordAttribute.IsValid(Object, ValidationContext) Method

Definition

Validates the specified value with respect to the current validation attribute.

protected:
 override System::ComponentModel::DataAnnotations::ValidationResult ^ IsValid(System::Object ^ value, System::ComponentModel::DataAnnotations::ValidationContext ^ validationContext);
protected override System.ComponentModel.DataAnnotations.ValidationResult IsValid (object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext);
override this.IsValid : obj * System.ComponentModel.DataAnnotations.ValidationContext -> System.ComponentModel.DataAnnotations.ValidationResult

Parameters

value
Object Object Object

The value to validate.

validationContext
ValidationContext ValidationContext ValidationContext

The context information about the validation operation.

Returns

Applies to