Previous Topic: CaItem* GetItemById(HAROBJID iItemId)

Next Topic: CaVersion* GetVersionById(HAROBJID iVersionId)


CaItem* GetItemPathInView(LPCTSTR szFullPath)

Retrieves the item path specified by the provided path string.

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

Owning Class

None

Arguments

LPCTSTR szFullPath

Return Value

The item path

Exceptions

Throws CaException on error.

Example

CaHarvest Harvest; CaContext& rContext = Harvest.GetContext(); CaItem* pItem = rContext.GetItemPathInView( _T (“\\a\\b\\c”));

More information: