Previous Topic: LPCTSTR GetProjectName(void) const

Next Topic: LPCTSTR GetStateName(void) const


HAROBJID GetProjectId(void) const

Retrieve the Object Id of the current Project.

Owning Class

CaContext

Arguments

None

Return Value

Project Object Id if set, NULL_HAROBJID if empty.

Example

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