ICity::get_TimezoneIndex
The TimezoneIndex property gets or sets the time zone index for the city.
To get the value of the TimezoneIndex property, call the property method described here.
To set the value of the TimezoneIndex property, see the ICity::put_TimezoneIndex property method.
Note This method is supported only for Pocket PC 2000 software for Pocket PCs.
Syntax
HRESULT get_TimezoneIndex(
long * plTimezoneIndex
);
Parameters
- plTimezoneIndex
[out] Reference to the time zone index value.
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
Cities return a one-based time zone index rather than an ITimeZone object. This is to provide better filtering support. To get the corresponding ITimeZone object, call the IPOutlookApp::GetTimeZoneFromIndex method.
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