Share via


TypeConversionValidator 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 a string by checking it represents a value for a given type.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(TypeConversionValidatorData))> _
PublicClassTypeConversionValidator _
    Inherits ValueValidator(Of String)
[ConfigurationElementTypeAttribute(typeof(TypeConversionValidatorData))]
publicclassTypeConversionValidator : ValueValidator<string>
[ConfigurationElementTypeAttribute(typeof(TypeConversionValidatorData))]
publicref classTypeConversionValidator : public ValueValidator<String^>
publicclass TypeConversionValidator extends ValueValidator<String>

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Validation.Validator
    Microsoft.Practices.EnterpriseLibrary.Validation.Validator<String>
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueValidator<String>
        Microsoft.Practices.EnterpriseLibrary.Validation.Validators.TypeConversionValidator

See Also

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