Jaa


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

Validate that each instance of a Type has a unique name.

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, Inherited := True)> _
PublicNotInheritableClassUniqueNameAttribute _
    Inherits ValidationAttribute
[AttributeUsageAttribute(AttributeTargets.Property, Inherited = true)]
publicsealedclassUniqueNameAttribute : ValidationAttribute
[AttributeUsageAttribute(AttributeTargets::Property, Inherited = true)]
publicref classUniqueNameAttributesealed : public ValidationAttribute
publicfinalclass UniqueNameAttribute extends ValidationAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.ValidationAttribute
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.UniqueNameAttribute

See Also

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