StyleKey<T> 类

仅由 Microsoft 内部使用。

继承层次结构

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

命名空间:  Microsoft.VisualStudio.PlatformUI
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public NotInheritable Class StyleKey(Of T) _
    Inherits ResourceKey
public sealed class StyleKey<T> : ResourceKey

类型参数

  • T
    此 StyleKey 关联的类型。

StyleKey<T> 类型公开以下成员。

构造函数

  名称 说明
公共方法 StyleKey<T> 仅由 Microsoft 内部使用。

页首

属性

  名称 说明
公共属性 Assembly 仅由 Microsoft 内部使用。 (重写 ResourceKey.Assembly。)

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ProvideValue 返回此 ResourceKey。此类实例通常用作键在字典。 (继承自 ResourceKey。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.PlatformUI 命名空间