Partager via


Classe LocalizablePropertyDisplayNameAttribute

Provides a localized display name for a property.

Hiérarchie d'héritage

System.Object
  System.Attribute
    System.ComponentModel.DisplayNameAttribute
      Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDisplayNameAttribute

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Localization
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
<AttributeUsageAttribute(AttributeTargets.All)> _
Public NotInheritable Class LocalizablePropertyDisplayNameAttribute _
    Inherits DisplayNameAttribute
'Utilisation
Dim instance As LocalizablePropertyDisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets.All)]
public sealed class LocalizablePropertyDisplayNameAttribute : DisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets::All)]
public ref class LocalizablePropertyDisplayNameAttribute sealed : public DisplayNameAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.All)>]
type LocalizablePropertyDisplayNameAttribute =  
    class 
        inherit DisplayNameAttribute 
    end
public final class LocalizablePropertyDisplayNameAttribute extends DisplayNameAttribute

Le type LocalizablePropertyDisplayNameAttribute expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique LocalizablePropertyDisplayNameAttribute Initializes a new instance of the LocalizablePropertyDisplayNameAttribute class using the specified type and property name.

Haut de la page

Propriétés

  Nom Description
Propriété publique DisplayName Gets the display name of the LocalizablePropertyDisplayNameAttribute. (remplace DisplayNameAttribute.DisplayName.)
Propriété publique TypeId (hérité de Attribute.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de DisplayNameAttribute.)
Méthode publique GetHashCode (hérité de DisplayNameAttribute.)
Méthode publique GetLocalizedValue Returns a string containing localized value of the LocalizablePropertyDisplayNameAttribute.
Méthode publique GetType (hérité de Object.)
Méthode publique IsDefaultAttribute (hérité de DisplayNameAttribute.)
Méthode publique Match (hérité de Attribute.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée _Attribute.GetIDsOfNames (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute.GetTypeInfo (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute.GetTypeInfoCount (hérité de Attribute.)
Implémentation d'interface expliciteMéthode privée _Attribute.Invoke (hérité de Attribute.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Localization