共用方式為


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public NotInheritable Class StyleKey(Of T) _
    Inherits ResourceKey
public sealed class StyleKey<T> : ResourceKey

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 a hash function for a particular type. (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