Share via


StyleKey<T> Class

Microsoft internal use only.

Inheritance Hierarchy

Object
  MarkupExtension
    ResourceKey
      Microsoft.VisualStudio.PlatformUI.StyleKey<T>

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class StyleKey(Of T) _
    Inherits ResourceKey
public sealed class StyleKey<T> : ResourceKey
generic<typename T>
public ref class StyleKey sealed : public ResourceKey
[<Sealed>]
type StyleKey<'T> =  
    class 
        inherit ResourceKey 
    end
JScript does not support generic types or methods.

Type Parameters

  • T
    The type with which this StyleKey is associated with.

The StyleKey<T> type exposes the following members.

Constructors

  Name Description
Public method StyleKey<T> Microsoft internal use only.

Top

Properties

  Name Description
Public property Assembly Microsoft internal use only. (Overrides ResourceKey.Assembly.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ProvideValue Returns this ResourceKey. Instances of this class are typically used as a key in a dictionary. (Inherited from ResourceKey.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace