Share via


StyleKey<T> Class

Microsoft internal use only.

Inheritance Hierarchy

System.Object
  System.Windows.Markup.MarkupExtension
    System.Windows.ResourceKey
      Microsoft.VisualStudio.PlatformUI.StyleKey<T>

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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