ThemeResourceKey Class
Represents a key used in a Resource Dictionary for accessing theme color resources. Theme color resources include brushes and colors associated with a given color category and color name.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.ThemeResourceKey
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'宣言
Public NotInheritable Class ThemeResourceKey
public sealed class ThemeResourceKey
The ThemeResourceKey type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ThemeResourceKey | Initializes a new instance of the ThemeResourceKey class. |
Top
Properties
Name | Description | |
---|---|---|
Category | Gets the category associated with this key. A combination of the name, category, and key type uniquely identify the resource being referenced by this key. | |
KeyType | Gets the type of resource specified by this key. A combination of the name, category, and key type uniquely identify the resource being referenced by this key. | |
Name | Gets the name associated with this key. A combination of the name, category, and key type uniquely identify the resource being referenced by this key. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).) | |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.