This topic has not yet been rated - Rate this topic

CompareAttribute Constructor

Initializes a new instance of the CompareAttribute class.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public CompareAttribute(
	string otherProperty
)

Parameters

otherProperty
Type: System.String
The property to compare with the current property.
Did you find this helpful?
(1500 characters remaining)