The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MembershipPasswordAttribute::IsValid Method (Object^, ValidationContext^)
.NET Framework (current version)
Validates the specified value with respect to the current validation attribute.
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.
Return Value
Type: System.ComponentModel.DataAnnotations::ValidationResult^An instance of the ValidationResult class.
.NET Framework
Available since 4.5
Available since 4.5
Show: