This documentation is archived and is not being maintained.

ValidationAttribute.IsValid Method

Checks whether the specified object is valid.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method IsValid(Object) Determines whether the specified value of the object is valid.
Protected method IsValid(Object, ValidationContext) Validates the specified value with respect to the current validation attribute.