ModelClientValidationEqualToRule Constructor

Initializes a new instance of the ModelClientValidationEqualToRule class.

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

Syntax

'Declaration
Public Sub New ( _
    errorMessage As String, _
    other As Object _
)
'Usage
Dim errorMessage As String
Dim other As Object

Dim instance As New ModelClientValidationEqualToRule(errorMessage, _
    other)
public ModelClientValidationEqualToRule(
    string errorMessage,
    Object other
)
public:
ModelClientValidationEqualToRule(
    String^ errorMessage, 
    Object^ other
)
public function ModelClientValidationEqualToRule(
    errorMessage : String, 
    other : Object
)

Parameters

  • other
    Type: System.Object
    The model value used for equality comparison.

See Also

Reference

ModelClientValidationEqualToRule Class

System.Web.Mvc Namespace