IVsUserContextItemCollection 接口

维护上下文项 (IVsUserContextItem) 的索引集合的用于区分上下文的帮助。

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

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")> _
Public Interface IVsUserContextItemCollection
[InterfaceTypeAttribute()]
[GuidAttribute("2A6DE4A2-5B3D-46EB-A65C-24C4EF4F396F")]
public interface IVsUserContextItemCollection

IVsUserContextItemCollection 类型公开以下成员。

方法

  名称 说明
公共方法 _NewEnum 返回枚举数。通过使用集合。
公共方法 Count 返回集合中的项数
公共方法 Item 从集合中检索项目基于不同的索引。
公共方法 ItemAt 从集合中检索项被整数索引。

页首

备注

返回的 IVsMonitorUserContext 接口的 GetContextItems 方法。

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间