ICity::put_AreaCode

Send Feedback

The AreaCode property gets or sets the area or city code for the city.

To set the value of the AreaCode property, call the property method described here.

To get the value of the AreaCode property, see the ICity::get_AreaCode property method.

Note   This method is supported only for Pocket PC 2000 software for Pocket PCs.

Syntax

HRESULT put_AreaCode(
  BSTR bstrAreaCode
);

Parameters

  • bstrAreaCode
    [in] Reference to the area or city code.

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.

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.