Dela via


DisplayCategoryKeyAttribute Class

Specifies the key that is used to look up a localized property category. 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.DisplayCategoryKeyAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property)> _
Public Class DisplayCategoryKeyAttribute _
    Inherits Attribute
'Usage
Dim instance As DisplayCategoryKeyAttribute
[AttributeUsageAttribute(AttributeTargets.Property)]
public class DisplayCategoryKeyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property)]
public ref class DisplayCategoryKeyAttribute : public Attribute
[<AttributeUsageAttribute(AttributeTargets.Property)>]
type DisplayCategoryKeyAttribute =  
    class
        inherit Attribute
    end
public class DisplayCategoryKeyAttribute extends Attribute

The DisplayCategoryKeyAttribute type exposes the following members.

Constructors

  Name Description
Public method DisplayCategoryKeyAttribute Initializes a new instance of the DisplayCategoryKeyAttribute 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 category. 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.