Share via


FieldValidationMetadata.ValidationMessageId Property

Gets or sets the validator message ID.

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

Syntax

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

Property Value

Type: System.String
The validator message ID.

Remarks

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

See Also

Reference

FieldValidationMetadata Class

System.Web.Mvc Namespace