Export (0) Print
Expand All

IUICollection interface

The IUICollection interface is implemented by the Ribbon framework. The IUICollection interface defines the methods for dynamically manipulating collection-based controls, such as the various Ribbon galleries and the Quick Access Toolbar (QAT), at run time.

Members

The IUICollection interface inherits from the IUnknown interface. IUICollection also has these types of members:

Methods

The IUICollection interface has these methods.

MethodDescription
Add

Adds an item to the end of the IUICollection.

Clear

Deletes all items from the IUICollection.

GetCount

Retrieves the number of items contained in the IUICollection.

GetItem

Retrieves an item from the IUICollection at the specified index.

Insert

Inserts an item into the IUICollection at the specified index.

RemoveAt

Removes an item from the IUICollection at the specified index.

Replace

Replaces an item at the specified index of the IUICollection with another item.

 

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

Uiribbon.h

IDL

Uiribbon.idl

DLL

Uiribbon.dll

See also

IUICollectionChangedEvent
Gallery Sample

 

 

Community Additions

ADD
Show:
© 2014 Microsoft