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

Specifies a property or event will be validated on a specific range and make sure that the value is outside that range.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := True)> _
PublicNotInheritableClassDenyRangeAttribute _
    Inherits AssertRangeAttribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = true)]
publicsealedclassDenyRangeAttribute : AssertRangeAttribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = true)]
publicref classDenyRangeAttributesealed : public AssertRangeAttribute
publicfinalclass DenyRangeAttribute extends AssertRangeAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.ValidationAttribute
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.AssertRangeAttribute
        Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.DenyRangeAttribute

See Also

DenyRangeAttribute Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation 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.