Previous Topic: LPCTSTR GetPackageName(void) const

Next Topic: HAROBJID GetViewName(void) const


HAROBJID GetPackageId(void) const

Retrieves the Object Id of the current Package.

Owning Class

CaContext

Arguments

None

Return Value

Package Object Id if set, NULL_HAROBJID if empty

Example

CaHarvest Harvest; CaContext& rContext = Harvest.GetContext(); HAROBJID iObjId = rContext.GetPackageId();