CompareAttribute(String) Constructor

Definition

Initializes a new instance of the CompareAttribute class.

public CompareAttribute (string otherProperty);
new System.Web.Mvc.CompareAttribute : string -> System.Web.Mvc.CompareAttribute
Public Sub New (otherProperty As String)

Parameters

otherProperty
String

The property to compare with the current property.

Applies to