Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ModelValidator Properties

ModelValidator Properties

The ModelValidator type exposes the following members.

  Name Description
Protected property ControllerContext Gets the controller context.
Public property IsRequired Gets or sets a value that indicates whether a model property is required.
Protected property Metadata Gets the metadata for the model validator.
© 2015 Microsoft