Partager via


DomainValidator<T> 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.

Validates an object by checking if it belongs to a set.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(DomainValidatorData))> _
PublicClassDomainValidator(Of T) _
    Inherits ValueValidator(Of T)
[ConfigurationElementTypeAttribute(typeof(DomainValidatorData))]
publicclassDomainValidator<T> : ValueValidator<T>
[ConfigurationElementTypeAttribute(typeof(DomainValidatorData))]
generic<typename T>
publicref classDomainValidator : public ValueValidator<T>
JScript does not support generic types or methods.

Type Parameters

  • T

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Validation.Validator
    Microsoft.Practices.EnterpriseLibrary.Validation.Validator<T>
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueValidator<T>
        Microsoft.Practices.EnterpriseLibrary.Validation.Validators.DomainValidator<T>

See Also

DomainValidator<T> 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.