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 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。