DataAnnotationsModelValidator Properties
Visual Studio 2010
The DataAnnotationsModelValidator type exposes the following members.
| Name | Description | |
|---|---|---|
|
Attribute | Gets the validation attribute for the model validator. |
|
ControllerContext | Gets the controller context. (Inherited from ModelValidator.) |
|
ErrorMessage | Gets the error message for the validation failure. |
|
IsRequired | Gets a value that indicates whether model validation is required. (Overrides ModelValidator::IsRequired.) |
|
Metadata | Gets the metadata for the model validator. (Inherited from ModelValidator.) |
Community Additions
ADD
Show: