Dela via


PropertyComparisonValidator Class

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.

Performs validation by comparing the a value with the value of a property on the target object by using a specified comparison operation.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(PropertyComparisonValidatorData))> _
PublicClassPropertyComparisonValidator _
    Inherits ValueAccessComparisonValidator
[ConfigurationElementTypeAttribute(typeof(PropertyComparisonValidatorData))]
publicclassPropertyComparisonValidator : ValueAccessComparisonValidator
[ConfigurationElementTypeAttribute(typeof(PropertyComparisonValidatorData))]
publicref classPropertyComparisonValidator : public ValueAccessComparisonValidator
publicclass PropertyComparisonValidator extends ValueAccessComparisonValidator

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Validation.Validator
    Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueValidator
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueAccessComparisonValidator
        Microsoft.Practices.EnterpriseLibrary.Validation.Validators.PropertyComparisonValidator

See Also

PropertyComparisonValidator Members

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.