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: