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.
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
| Name | Description | |
|---|---|---|
![]() | ThemeResourceKey(Guid, String, ThemeResourceKeyType) | Initializes a new instance of the ThemeResourceKey class. |
| 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | 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() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

