IsValid Method
Collapse the table of content
Expand the table of content

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

Community Additions

ADD
Show:
© 2016 Microsoft