FieldValidationMetadata Class
Provides a container for client-side field validation metadata.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
The MVC framework uses this class when client-side validation is enabled. You typically do not have to use this class directly.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)