DataAnnotationsModelValidator::ErrorMessage Property

Gets the error message for the validation failure.

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

protected public:
property String^ ErrorMessage {
	String^ get ();
}

Property Value

Type: System::String
The error message for the validation failure.
Show: