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.
The ITCollection interface inherits from the IDispatch interface. ITCollection also has these types of members:
The ITCollection interface has these methods.
The get__NewEnum method gets an enumerator for the collection.
The get_Count method gets the number of items in the collection.
The get_Item method, given an index, returns an item in the collection.
|Header||tapi3if.h (include Tapi3.h)|