IVsUICollection 接口

表示一个用户界面数据源的集合。

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

语法

声明
<GuidAttribute("F9362B93-C6FD-4C51-8AF9-B4BC13953E6C")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsUICollection _
    Inherits IVsUISimpleDataSource, IVsUIDispatch
[GuidAttribute("F9362B93-C6FD-4C51-8AF9-B4BC13953E6C")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUICollection : IVsUISimpleDataSource, 
    IVsUIDispatch

IVsUICollection 类型公开以下成员。

方法

  名称 说明
公共方法 AdviseCollectionChangeEvents 集合注册事件。
公共方法 Close() 关闭集合。
公共方法 Close() 关闭数据源。 (继承自 IVsUISimpleDataSource。)
公共方法 EnumVerbs(IVsUIEnumDataSourceVerbs%)
公共方法 EnumVerbs(IVsUIEnumDataSourceVerbs%) 列出数据源中的谓词 (继承自 IVsUIDispatch。)
公共方法 EnumVerbs(IVsUIEnumDataSourceVerbs%) 返回谓词的枚举数据源的。 (继承自 IVsUISimpleDataSource。)
公共方法 get_Count 返回集合中的项数
公共方法 GetItem 获取集合中的项。
公共方法 Invoke(String, Object, Object%)
公共方法 Invoke(String, Object, Object%) 调用数据源中的一个谓词。 (继承自 IVsUIDispatch。)
公共方法 Invoke(String, Object, Object%) 执行在数据源上一个谓词。 (继承自 IVsUISimpleDataSource。)
公共方法 UnadviseCollectionChangeEvents 停止指示收集事件。

页首

扩展方法

  名称 说明
公共扩展方法 Count (由 Utilities 定义。)

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间