Share via


Classe DisplayNameKeyAttribute

Specifies the key that is used to look up a localized property name. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Management.Sdk.Sfc..::..DisplayNameKeyAttribute

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Interface)> _
Public Class DisplayNameKeyAttribute _
    Inherits Attribute
'Utilisation
Dim instance As DisplayNameKeyAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Interface)]
public class DisplayNameKeyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Property|AttributeTargets::Field|AttributeTargets::Interface)]
public ref class DisplayNameKeyAttribute : public Attribute
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Interface)>]
type DisplayNameKeyAttribute =  
    class
        inherit Attribute
    end
public class DisplayNameKeyAttribute extends Attribute

Le type DisplayNameKeyAttribute expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DisplayNameKeyAttribute Initializes a new instance of the DisplayNameKeyAttribute class. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Propriétés

  Nom Description
Propriété publique Key Gets the key that is used to look up the localized property name. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique TypeId (hérité de Attribute.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Attribute.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetDefaultKey(FieldInfo) Gets the default key using the specified FieldInfo object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetDefaultKey(PropertyInfo) Gets the default key using the specified PropertyInfo object Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetDefaultKey(Type) Gets the default key using the specified Type object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetHashCode (hérité de Attribute.)
Méthode publique GetType (hérité de Object.)
Méthode publique IsDefaultAttribute (hérité de Attribute.)
Méthode publique Match (hérité de Attribute.)
Méthode protégée MemberwiseClone (hérité de Object.)
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.