Export (0) Print
Expand All

ModelClientValidationRequiredRule Constructor

.NET Framework 4

Initializes a new instance of the ModelClientValidationRule class.

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

public ModelClientValidationRequiredRule(
	string errorMessage
)

Parameters

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

Community Additions

ADD
Show:
© 2015 Microsoft