ITCollection interface (tapi3if.h)

The ITCollection interface allows Automation client applications, such as those written in Visual Basic, to retrieve collection information. C or C++ programs use enumerator interfaces to retrieve the same information. Collection methods return a VARIANT which contains a pointer to an ITCollection interface.

The ITCollection2 interface is an extension of the ITCollection interface. ITCollection2 exposes additional methods for modifying the collection.

Inheritance

The ITCollection interface inherits from the IDispatch interface. ITCollection also has these types of members:

Methods

The ITCollection interface has these methods.

 
ITCollection::get__NewEnum

The get__NewEnum method gets an enumerator for the collection.
ITCollection::get_Count

The get_Count method gets the number of items in the collection.
ITCollection::get_Item

The get_Item method, given an index, returns an item in the collection.

Requirements

   
Target Platform Windows
Header tapi3if.h (include Tapi3.h)

See also

IDispatch

ITCollection2