共用方式為


IVsUIDynamicCollection Interface

Definition

Represents a modifiable collection in the Visual Studio user interface.

public interface class IVsUIDynamicCollection : Microsoft::VisualStudio::Shell::Interop::IVsUICollection
public interface class IVsUIDynamicCollection : Microsoft::VisualStudio::Shell::Interop::IVsUICollection
__interface IVsUIDynamicCollection : Microsoft::VisualStudio::Shell::Interop::IVsUICollection
public interface IVsUIDynamicCollection : Microsoft.VisualStudio.Shell.Interop.IVsUICollection
[System.Runtime.InteropServices.Guid("6D155041-B4B8-4121-8D74-841E5DA4373E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIDynamicCollection : Microsoft.VisualStudio.Shell.Interop.IVsUICollection
type IVsUIDynamicCollection = interface
    interface IVsUICollection
    interface IVsUISimpleDataSource
    interface IVsUIDispatch
[<System.Runtime.InteropServices.Guid("6D155041-B4B8-4121-8D74-841E5DA4373E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIDynamicCollection = interface
    interface IVsUICollection
    interface IVsUISimpleDataSource
    interface IVsUIDispatch
Public Interface IVsUIDynamicCollection
Implements IVsUICollection
Attributes
Implements

Methods

AddItem(IVsUIDataSource, UInt32)

Adds a data source to the collection.

AdviseCollectionChangeEvents(IVsUICollectionChangeEvents, UInt32)

Registers an event sink for collection change notifications.

ClearItems()

Clears the collection.

Close()

Closes the collection.

EnumVerbs(IVsUIEnumDataSourceVerbs)

Returns a list of the verbs available for the collection.

get_Count(UInt32)

Returns the number of items in the collection.

GetItem(UInt32, IVsUIDataSource)

Returns an item from the collection.

InsertCollection(UInt32, IVsUICollection)

Adds a collection to this collection.

InsertItem(UInt32, IVsUIDataSource)

Adds an item to the collection.

Invoke(String, Object, Object)

Invokes a verb on the collection.

RemoveItem(UInt32)

Remove an item from the collection.

ReplaceItem(UInt32, IVsUIDataSource)

Replaces an item in the colleciton.

UnadviseCollectionChangeEvents(UInt32)

Stops sending notifications of changes tot eh collection.

Applies to