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 | |
---|---|---|
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 | |
---|---|---|
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. | |
TypeId | (Inherited from Attribute.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Attribute.) | |
Finalize | (Inherited from Object.) | |
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. | |
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. | |
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. | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames | (Inherited from Attribute.) | |
_Attribute.GetTypeInfo | (Inherited from Attribute.) | |
_Attribute.GetTypeInfoCount | (Inherited from Attribute.) | |
_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.