Share via


DisplayNameKeyAttribute Class

Specifies the key that is used to look up a localized property name. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Interface)> _
Public Class DisplayNameKeyAttribute _
    Inherits Attribute
'Usage
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

The DisplayNameKeyAttribute type exposes the following members.

Constructors

  Name Description
Public method DisplayNameKeyAttribute Initializes a new instance of the DisplayNameKeyAttribute class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Properties

  Name Description
Public property Key Gets the key that is used to look up the localized property name. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetDefaultKey(FieldInfo) Gets the default key using the specified FieldInfo object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDefaultKey(PropertyInfo) Gets the default key using the specified PropertyInfo object Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDefaultKey(Type) Gets the default key using the specified Type object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.