The ValidateComparisonAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ValidateComparisonAttribute | Overloaded. |
Properties
Name | Description | |
---|---|---|
![]() | ComparisonOperator |
Gets the operator used in the comparison.
|
![]() | Message |
Allows a custom error message to be specified. Use {0} as a placeholder
for the name of the attribute being validated.
(Inherited from ValidationAttribute.) |
![]() | ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute..::.ValidationRule.) |
![]() | Value |
Gets the object to compare to.
|