Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CompareAttribute Constructor
Collapse the table of content
Expand the table of content

CompareAttribute Constructor (String)

 

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.

Return to top
Show:
© 2015 Microsoft