Retrieves the specified object version from the collection.
HRESULT get_Item(
VARIANT sItem
IRepositoryObjectVersion **ppIReposVersion
);
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.
S_OK
The method completed successfully.
This method failed to complete successfully.
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.