Export (0) Print
Expand All

ModelClientValidationEqualToRule Constructor

Initializes a new instance of the ModelClientValidationEqualToRule class.

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

public ModelClientValidationEqualToRule(
	string errorMessage,
	Object other
)

Parameters

errorMessage
Type: System.String
The error message.
other
Type: System.Object
The model value used for equality comparison.
Show:
© 2014 Microsoft