Export (0) Print
Expand All
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)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.