ValidationAttribute Constructor

 

Initializes a new instance of the ValidationAttribute class.

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

NameDescription
System_CAPS_protmethodValidationAttribute()

Initializes a new instance of the ValidationAttribute class.

System_CAPS_protmethodValidationAttribute(Func<String>)

Initializes a new instance of the ValidationAttribute class by using the function that enables access to validation resources.

System_CAPS_protmethodValidationAttribute(String)

Initializes a new instance of the ValidationAttribute class by using the error message to associate with a validation control.

Return to top
Show: