Share via


ModelValidationResult.Message Property

Gets or sets the validation result message.

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

Syntax

'Declaration
Public Property Message As String
    Get
    Set
public string Message { get; set; }
public:
property String^ Message {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The validation result message.

See Also

Reference

ModelValidationResult Class

System.Web.Mvc Namespace