Export (0) Print
Expand All

DataAnnotationsModelValidator Properties

.NET Framework 4

The DataAnnotationsModelValidator type exposes the following members.

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

Community Additions

ADD
Show:
© 2014 Microsoft