CompareAttribute Constructor (String)
Initializes a new instance of the CompareAttribute class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- otherProperty
-
Type:
System.String
The property to compare with the current property.
Show: