Platform SDK: Transaction Server

ICatalogCollection::get_Item

[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]

The get_Item method returns an object from the collection represented by the index.

HRESULT ICatalogCollection::get_Item(
long
1Index
IDispatch**
ppCatalogObject);

Parameters

1Index [in]
Index to the object in the collection.

ppCatalogObject [out]
Pointer to a pointer to the Catalog object.

Return Values

S_OK
Method completed successfully.

E_INVALIDARG
Out of range of index.

Comments

A collection object contains zero or more items (all MTS collections are zero-based).

See the Using MTS Collections topic for a list of the MTS collections and their properties.