Udostępnij za pośrednictwem


ResourceDisplayNameAttribute Class

A customized version of DisplayNameAttribute that can load the string from assembly resources instead of just a hard-wired string.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property)> _
Public Class ResourceDisplayNameAttribute _
    Inherits DisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property)]
public class ResourceDisplayNameAttribute : DisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Property)]
public ref class ResourceDisplayNameAttribute : public DisplayNameAttribute
public class ResourceDisplayNameAttribute extends DisplayNameAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    System.ComponentModel.DisplayNameAttribute
      Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design.ResourceDisplayNameAttribute

See Also

ResourceDisplayNameAttribute Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace