Share via


Classe DisplayCategoryKeyAttribute

Specifies the key that is used to look up a localized property category. 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..::..DisplayCategoryKeyAttribute

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.Property)> _
Public Class DisplayCategoryKeyAttribute _
    Inherits Attribute
'Utilisation
Dim instance As DisplayCategoryKeyAttribute
[AttributeUsageAttribute(AttributeTargets.Property)]
public class DisplayCategoryKeyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property)]
public ref class DisplayCategoryKeyAttribute : public Attribute
[<AttributeUsageAttribute(AttributeTargets.Property)>]
type DisplayCategoryKeyAttribute =  
    class
        inherit Attribute
    end
public class DisplayCategoryKeyAttribute extends Attribute

Le type DisplayCategoryKeyAttribute expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DisplayCategoryKeyAttribute Initializes a new instance of the DisplayCategoryKeyAttribute 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 category. 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.