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

.NET Framework 4.6 and 4.5

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.

  Name Description
Public method IsValid(Object) Determines whether the specified value of the object is valid.
Protected method Supported by Portable Class Library IsValid(Object, ValidationContext) Validates the specified value with respect to the current validation attribute.
© 2015 Microsoft