IVersionCol::get_Item
Retrieves the specified object version from the collection.
Syntax
HRESULT get_Item(
VARIANT sItem
IRepositoryObjectVersion **ppIReposVersion
);
Parts
sItem
[in]
Identifies the item to be retrieved from the collection. This parameter can be the index, the object identifier, or the object-version identifier of the item.
**ppIReposVersion
[out]
The IRepositoryObjectVersion interface pointer for the retrieved object versions.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
There are many different kinds of version collection. The sItem parameter can be an object identifier for some version collections, but not for others. It can be an object identifier only for the ObjectVersions collection, the Workspaces collection, or the Checkouts collection.