ICity::Save
The Save method saves a city item.
Note This method is supported only for Pocket PC 2000 software for Pocket PCs.
Syntax
HRESULT Save();
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully.
Remarks
The Save method is not supported in Windows CE Platform Builder 3.0 and later.
This method saves changes to any city in RAM. If the user cold-boots a Windows Mobile–based device, any new cities saved in RAM or changes to cities stored in ROM are lost.
You can save changes to properties of cities stored in ROM only in Pocket Outlook (Outlook Mobile) version 1.1 or later. If you are running an earlier version of Pocket Outlook and you try to save changes to properties of a city stored in ROM, Save returns E_CITYINROM.
Requirements
Pocket PC: Pocket PC 2000 only
Smartphone: None
OS Versions: Windows CE 2.0 and later
Header: pimstore.h
Library: pimstore.lib
See Also
ICity | Pocket Outlook Object Model API Interfaces | Pocket Outlook Object Model API Enumerations
Send Feedback on this topic to the authors