Classe DisplayNameKeyAttribute
Specifies the key that is used to look up a localized property name.
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 | |
---|---|---|
![]() |
DisplayNameKeyAttribute | Initializes a new instance of the DisplayNameKeyAttribute class. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
Key | Gets the key that is used to look up the localized property name. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. |
![]() |
TypeId | (hérité de Attribute.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | (hérité de Attribute.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetDefaultKey(FieldInfo) | Gets the default key using the specified FieldInfo object. |
![]() |
GetDefaultKey(PropertyInfo) | Gets the default key using the specified PropertyInfo object |
![]() |
GetDefaultKey(Type) | Gets the default key using the specified Type object. |
![]() |
GetHashCode | (hérité de Attribute.) |
![]() |
GetType | (hérité de Object.) |
![]() |
IsDefaultAttribute | (hérité de Attribute.) |
![]() |
Match | (hérité de Attribute.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (hérité de Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfo | (hérité de Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (hérité de Attribute.) |
![]() ![]() |
_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.