MembershipPasswordAttribute::IsValid Method (Object^, ValidationContext^)

.NET Framework (current version)
 

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

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

protected:
virtual ValidationResult^ IsValid(
	Object^ value,
	ValidationContext^ validationContext
) override

Parameters

value
Type: System::Object^

The value to validate.

validationContext
Type: System.ComponentModel.DataAnnotations::ValidationContext^

The context information about the validation operation.

.NET Framework
Available since 4.5
Return to top
Show: