Partilhar via


ComparisonOperator Enumeration

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents the different comparison behaviors available for a PropertyComparisonValidator.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)

Syntax

'Declaration
PublicEnumerationComparisonOperator
publicenumComparisonOperator
publicenum classComparisonOperator
publicenum ComparisonOperator

Members

Member name Value Description
Equal 0 Comparison for equal.
NotEqual 1 Comparison for not equal.
GreaterThan 2 Comparison for greater.
GreaterThanEqual 3 Comparison for greater or equal.
LessThan 4 Comparison for lesser.
LessThanEqual 5 Comparison for lesser or equal.

See Also

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.