IVsUIDynamicCollection 接口

表示在 Visual Studio 用户界面的可修改的集合。

命名空间:  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("6D155041-B4B8-4121-8D74-841E5DA4373E")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsUIDynamicCollection _
    Inherits IVsUICollection, IVsUISimpleDataSource, IVsUIDispatch
[GuidAttribute("6D155041-B4B8-4121-8D74-841E5DA4373E")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIDynamicCollection : IVsUICollection, 
    IVsUISimpleDataSource, IVsUIDispatch

IVsUIDynamicCollection 类型公开以下成员。

方法

  名称 说明
公共方法 AddItem 数据源添加到集合。
公共方法 AdviseCollectionChangeEvents(IVsUICollectionChangeEvents, UInt32%) 集合注册事件。 (继承自 IVsUICollection。)
公共方法 AdviseCollectionChangeEvents(IVsUICollectionChangeEvents, UInt32%) 注册集合更改通知的一个事件接收器。
公共方法 ClearItems 清除集合。
公共方法 Close() 关闭集合。 (继承自 IVsUICollection。)
公共方法 Close() 关闭集合。
公共方法 Close() 关闭数据源。 (继承自 IVsUISimpleDataSource。)
公共方法 EnumVerbs(IVsUIEnumDataSourceVerbs%) (继承自 IVsUICollection。)
公共方法 EnumVerbs(IVsUIEnumDataSourceVerbs%) 列出数据源中的谓词 (继承自 IVsUIDispatch。)
公共方法 EnumVerbs(IVsUIEnumDataSourceVerbs%) 返回谓词的列表可用于集合。
公共方法 EnumVerbs(IVsUIEnumDataSourceVerbs%) 返回谓词的枚举数据源的。 (继承自 IVsUISimpleDataSource。)
公共方法 get_Count(UInt32%) 返回集合中的项数 (继承自 IVsUICollection。)
公共方法 get_Count(UInt32%) 返回集合中的项数
公共方法 GetItem(UInt32, IVsUIDataSource%) 获取集合中的项。 (继承自 IVsUICollection。)
公共方法 GetItem(UInt32, IVsUIDataSource%) 返回从集合中的项。
公共方法 InsertCollection 集合添加到此集合中。
公共方法 InsertItem 向集合中添加一项。
公共方法 Invoke(String, Object, Object%) (继承自 IVsUICollection。)
公共方法 Invoke(String, Object, Object%) 调用数据源中的一个谓词。 (继承自 IVsUIDispatch。)
公共方法 Invoke(String, Object, Object%) 调用集合中的一个谓词。
公共方法 Invoke(String, Object, Object%) 执行在数据源上一个谓词。 (继承自 IVsUISimpleDataSource。)
公共方法 RemoveItem 从集合移除项。
公共方法 ReplaceItem 替换在 colleciton 的项目。
公共方法 UnadviseCollectionChangeEvents(UInt32) 停止指示收集事件。 (继承自 IVsUICollection。)
公共方法 UnadviseCollectionChangeEvents(UInt32) 停止发送更改小孩嗯集合的通知。

页首

扩展方法

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

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间