Compartilhar via


geolocation property

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

 

Syntax

HRESULT value = object.get_geolocation(IWebGeolocation** p);

Property values

Type: Object

A reference to an IWebGeolocation interface.

Standards information

Remarks

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