FieldValidationMetadata Class

 

Provides a container for client-side field validation metadata.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System::Object
  System.Web.Mvc::FieldValidationMetadata

public ref class FieldValidationMetadata 

NameDescription
System_CAPS_pubmethodFieldValidationMetadata()

Initializes a new instance of the FieldValidationMetadata class.

NameDescription
System_CAPS_pubpropertyFieldName

Gets or sets the name of the data field.

System_CAPS_pubpropertyReplaceValidationMessageContents

Gets or sets a value that indicates whether the validation message contents should be replaced with the client validation error.

System_CAPS_pubpropertyValidationMessageId

Gets or sets the validator message ID.

System_CAPS_pubpropertyValidationRules

Gets the client validation rules.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: