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 Overrides Function IsValid (
	value As Object,
	validationContext As ValidationContext
) As ValidationResult

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: