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

RequiredAttribute.IsValid Method

.NET Framework (current version)
 

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

NameDescription
System_CAPS_pubmethodIsValid(Object)

Checks that the value of the required data field is not empty.(Overrides ValidationAttribute.IsValid(Object).)

System_CAPS_protmethodIsValid(Object, ValidationContext)

Validates the specified value with respect to the current validation attribute.(Inherited from ValidationAttribute.)

Return to top
Show:
© 2016 Microsoft