The GetObjectStoreItem method enables the client application to obtain the item type, version ID and version series ID of the item that was checked into the object store via the Checkin or QuickCheckin commands. This method provides access to the information specified through the IObjectStoreItem interface.
IObjectStoreItemPtr spIObjectStoreItemCheckedIn = spICheckinRsp->GetObjectStoreItem();
...
// Obtain the specific response information contained in the custom AddRsp component
ICheckinRspPtr spICheckinRsp(spIAppIntRsp);
_ASSERTE(spICheckinRsp != 0);
IObjectStoreItemPtr spIObjectStoreItemCheckedIn = spICheckinRsp->GetObjectStoreItem();
_ASSERTE(spIObjectStoreItemCheckedIn != 0);
std::cout << "ObjectStoreName=" << (LPCSTR) spIObjectStoreItemCheckedIn->GetObjectStoreName() << std::endl;
std::cout << "ItemType=" << (LPCSTR) CItemTypeConverter::EnumToBSTR(spIObjectStoreItemCheckedIn->GetItemType()) << std::endl;
std::cout << "VersionSeriesID=" << (LPCSTR) spIObjectStoreItemCheckedIn->GetVersionSeriesID() << std::endl;
std::cout << "VersionID=" << (LPCSTR) spIObjectStoreItemCheckedIn->GetVersionID() << std::endl;
...