Previous Topic: CaItem* GetItemPathInView(LPCTSTR szFullPath)

Next Topic: CaItemList& GetItemList(bool bRefresh, HINT32 iItemPathOption)


CaVersion* GetVersionById(HAROBJID iVersionId)

Retrieves the version specified by the provided id.

Note: This object is owned by whoever creates it and must be deleted by its owner.

Owning Class

None

Arguments

HAROBJID iVersionId

Return Value

The version with ID iVersionId

Exceptions

Throws CaException on error.

Example

CaHarvest Harvest; CaContext& rContext = Harvest.GetContext(); CaVersion *pVersion = rContext.GetVersionById(12345);