Share via


CompareAttribute.OtherProperty Property

Gets the property to compare with the current property.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property OtherProperty As String
'Usage
Dim instance As CompareAttribute
Dim value As String

value = instance.OtherProperty
public string OtherProperty { get; private set; }
public:
property String^ OtherProperty {
    String^ get ();
    private: void set (String^ value);
}
function get OtherProperty () : String
private function set OtherProperty (value : String)

Property Value

Type: System.String
The property to compare with the current property.

See Also

Reference

CompareAttribute Class

System.Web.Mvc Namespace