Share via


ICity::get_CountryPhoneCode

Send Feedback

The CountryPhoneCode property gets or sets the telephone country code for the city.

To get the value of the CountryPhoneCode property, call the property method described here.

To set the value of the CountryPhoneCode property, see the put_CountryPhoneCode property method.

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

Syntax

HRESULT get_CountryPhoneCode(
  BSTR * pbstrCountryPhoneCode
);

Parameters

  • pbstrCountryPhoneCode
    [out] Reference to the telephone country 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.