Partilhar via


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

Describes a ValueValidator.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Parameter, AllowMultiple := True,  _
    Inherited := False)> _
PublicMustInheritClassValueValidatorAttribute _
    Inherits ValidatorAttribute
[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter, AllowMultiple = true, 
    Inherited = false)]
publicabstractclassValueValidatorAttribute : ValidatorAttribute
[AttributeUsageAttribute(AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field|AttributeTargets::Parameter, AllowMultiple = true, 
    Inherited = false)]
publicref classValueValidatorAttributeabstract : public ValidatorAttribute
publicabstractclass ValueValidatorAttribute extends ValidatorAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Validation.Validators.BaseValidationAttribute
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValidatorAttribute
        Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ContainsCharactersValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.DateTimeRangeValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.DomainValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.EnumConversionValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.NotNullValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.PropertyComparisonValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RegexValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RelativeDateTimeValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.StringLengthValidatorAttribute
          Microsoft.Practices.EnterpriseLibrary.Validation.Validators.TypeConversionValidatorAttribute

See Also

ValueValidatorAttribute Members

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueValidator

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.