Share via


ICity::put_Latitude

Send Feedback

The Latitude property gets or sets the latitude for the city.

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

To get the value of the Latitude property, see the ICity::get_Latitude property method.

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

Syntax

HRESULT put_Latitude(
  long lLatitude
);

Parameters

  • lLatitude
    [in] Reference to the latitude.

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

This is an integer value equal to 100 times the decimal representation of degrees.

Relative to the equator, positive values represent locations in the Northern Hemisphere and negative values represent locations in the Southern Hemisphere.

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.