FieldValidationMetadata Class
Provides a container for client-side field validation metadata.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The FieldValidationMetadata type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | FieldValidationMetadata | Initializes a new instance of the FieldValidationMetadata class. |
| Name | Description | |
|---|---|---|
![]() | FieldName | Gets or sets the name of the data field. |
![]() | ReplaceValidationMessageContents | Gets or sets a value that indicates whether the validation message contents should be replaced with the client validation error. |
![]() | ValidationMessageId | Gets or sets the validator message ID. |
![]() | ValidationRules | Gets the client validation rules. |
Show:


