Поделиться через


Класс DisplayNameKeyAttribute

Specifies the key that is used to look up a localized property name.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Interface)> _
Public Class DisplayNameKeyAttribute _
    Inherits Attribute
'Применение
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

Тип DisplayNameKeyAttribute обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод DisplayNameKeyAttribute Initializes a new instance of the DisplayNameKeyAttribute class. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

В начало

Свойства

  Имя Описание
Открытое свойство Key Gets the key that is used to look up the localized property name. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Открытое свойство TypeId (Производный от Attribute.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Attribute.)
Защищенный метод Finalize (Производный от 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 (Производный от Attribute.)
Открытый метод GetType (Производный от Object.)
Открытый метод IsDefaultAttribute (Производный от Attribute.)
Открытый метод Match (Производный от Attribute.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод _Attribute.GetIDsOfNames (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute.GetTypeInfo (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute.GetTypeInfoCount (Производный от Attribute.)
Явная реализация интерфейсаЗакрытый метод _Attribute.Invoke (Производный от Attribute.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc