Collection Properties
Count property
Purpose:
This method returns the number of items in the collection.
Syntax:
RESULT get_Count(
[out, retval] long *pVal);
Item property
Purpose:
Given the index, this method returns an item in the collection. However, if the Index is of type BSTR indicating the name of the object, this method returns an item in the collection with the first matching name. The object name match is case-insensitive.
Syntax:
HRESULT get_Item(
[in] VARIANT Index,
[out, retval] IDispatch **pVal);