Поделиться через


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

Logs a failure when validating a nulla null reference (Nothing in Visual Basic) reference.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(NotNullValidatorData))> _
PublicClassNotNullValidator _
    Inherits ValueValidator
[ConfigurationElementTypeAttribute(typeof(NotNullValidatorData))]
publicclassNotNullValidator : ValueValidator
[ConfigurationElementTypeAttribute(typeof(NotNullValidatorData))]
publicref classNotNullValidator : public ValueValidator
publicclass NotNullValidator extends ValueValidator

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Validation.Validator
    Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValueValidator
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.NotNullValidator

See Also

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