共用方式為


INavigatorGeolocation interface

Implements a property that, if supported, returns the geographic location of the device running Windows Internet Explorer.

Members

The INavigatorGeolocation interface inherits from the IDispatch interface. INavigatorGeolocation also has these types of members:

  • Properties

Properties

The INavigatorGeolocation interface has these properties.

Property Description

geolocation

Gets a reference to an IWebGeolocation interface, which reports the geographic location of the device running the application.

 

Remarks

Windows Internet Explorer 9. The INavigatorGeolocation interface is only supported for webpages displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch