IVsUserContextItem 接口

描述项目的 F1帮助 上下文。IVsUserContextItemCollection的成员。

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

语法

声明
<GuidAttribute("720B8500-17B3-4C89-AE84-2CFE7251B4B8")> _
<InterfaceTypeAttribute()> _
Public Interface IVsUserContextItem
[GuidAttribute("720B8500-17B3-4C89-AE84-2CFE7251B4B8")]
[InterfaceTypeAttribute()]
public interface IVsUserContextItem

IVsUserContextItem 类型公开以下成员。

方法

  名称 说明
公共方法 Command 输出 F1 命令字符串值。
公共方法 CountAttributes 计数用户选定项的属性在 shell 中。
公共方法 GetAttribute 获取用户选定项的属性在 shell 中。
公共方法 Name 返回 shell 的用户选择的 UserContextItem 的名称。

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间