Partager via


RangeValidator 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 on T instances by comparing them to the specified boundaries.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(RangeValidatorData))> _
PublicClassRangeValidator _
    Inherits RangeValidator(Of IComparable)
[ConfigurationElementTypeAttribute(typeof(RangeValidatorData))]
publicclassRangeValidator : RangeValidator<IComparable>
[ConfigurationElementTypeAttribute(typeof(RangeValidatorData))]
publicref classRangeValidator : public RangeValidator<IComparable^>
publicclass RangeValidator extends RangeValidator<IComparable>

Remarks

nulla null reference (Nothing in Visual Basic) is logged as a failure.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Validation.Validator
    Microsoft.Practices.EnterpriseLibrary.Validation.Validator<IComparable>
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueValidator<IComparable>
        Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeValidator<IComparable>
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeValidator

See Also

RangeValidator 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.