Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataAnnotationsModelValidator<TAttribute> Properties

.NET Framework 4

The DataAnnotationsModelValidator<TAttribute> type exposes the following members.

  NameDescription
Protected property Attribute Gets the validation attribute from the model validator.
Protected property ControllerContext Gets the controller context. (Inherited from ModelValidator.)
Protected property ErrorMessage Gets the error message for the validation failure. (Inherited from DataAnnotationsModelValidator.)
Public property IsRequired Gets a value that indicates whether model validation is required. (Inherited from DataAnnotationsModelValidator.)
Protected property Metadata Gets the metadata for the model validator. (Inherited from ModelValidator.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft