This documentation is archived and is not being maintained.

RequiredAttribute.IsValid Method

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

  NameDescription
Public method IsValid(Object) Checks that the value of the required data field is not empty. (Overrides ValidationAttribute.IsValid(Object).)
Protected method IsValid(Object, ValidationContext) Validates the specified value with respect to the current validation attribute. (Inherited from ValidationAttribute.)
Top
Show: