Класс 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.