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

Indicates that a nulla null reference (Nothing in Visual Basic) value is to be allowed by the validator represented by the validation attributes for the language element this attribute is bound.

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)> _
PublicNotInheritableClassIgnoreNullsAttribute _
    Inherits BaseValidationAttribute
[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter, AllowMultiple = true, 
    Inherited = false)]
publicsealedclassIgnoreNullsAttribute : BaseValidationAttribute
[AttributeUsageAttribute(AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field|AttributeTargets::Parameter, AllowMultiple = true, 
    Inherited = false)]
publicref classIgnoreNullsAttributesealed : public BaseValidationAttribute
publicfinalclass IgnoreNullsAttribute extends BaseValidationAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Validation.Validators.BaseValidationAttribute
      Microsoft.Practices.EnterpriseLibrary.Validation.Validators.IgnoreNullsAttribute

See Also

IgnoreNullsAttribute Members

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Microsoft.Practices.EnterpriseLibrary.Validation.Validators.ValidatorAttribute

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.