ModelClientValidationRequiredRule Constructor

Visual Studio 2010

Initializes a new instance of the ModelClientValidationRule class.

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

'Declaration
Public Sub New ( _
	errorMessage As String _
)

Parameters

errorMessage
Type: System.String
The error message to display when a value for the required field is not provided.

Community Additions

ADD
Show: