FieldValidationMetadata::ValidationMessageId Property

Gets or sets the validator message ID.

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

public:
property String^ ValidationMessageId {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The validator message ID.

The MVC framework uses this property when client-side validation is enabled. You typically do not have to use this property directly.

Show: