CompareAttribute Methods

 

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFormatErrorMessage(String)

Applies formatting to an error message based on the data field where the compare error occurred.(Overrides ValidationAttribute.FormatErrorMessage(String).)

System_CAPS_pubmethodSystem_CAPS_staticFormatPropertyForClientValidation(String)

Formats the property for client validation by prepending an asterisk (*) and a dot.

System_CAPS_pubmethodGetClientValidationRules(ModelMetadata, ControllerContext)

Gets a list of compare-value client validation rules for the property using the specified model metadata and controller context.

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValidationResult(Object, ValidationContext)

(Inherited from ValidationAttribute.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodIsValid(Object)

(Inherited from ValidationAttribute.)

System_CAPS_protmethodIsValid(Object, ValidationContext)

Determines whether the specified object is equal to the compared object.(Overrides ValidationAttribute.IsValid(Object, ValidationContext).)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(Object, String)

(Inherited from ValidationAttribute.)

System_CAPS_pubmethodValidate(Object, ValidationContext)

(Inherited from ValidationAttribute.)

Return to top
Show: