CompareAttribute Constructor
Initializes a new instance of the CompareAttribute class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Sub New ( _ otherProperty As String _ ) 'Usage Dim otherProperty As String Dim instance As New CompareAttribute(otherProperty)
Parameters
- otherProperty
- Type: System.String
The property to compare with the current property.