Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Community Additions

© 2015 Microsoft