EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

Geofence.Geoshape | geoshape property

Applies to Windows and Windows Phone

The shape of the geofence region.

Syntax


var geoshape = geofence.geoshape;

Property value

Type: IGeoshape

The shape of the geofence region.

Remarks

This property is read-only. You must set the shape of a geofence when you initialize it using one of the constructors.

The type of this property, IGeoshape, is an interface to enable the possibility of supporting multiple shapes for geofences. The only shape that is currently supported is Geocircle, so this is the class you should use when initializing your geofences.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Geolocation.Geofencing
Windows::Devices::Geolocation::Geofencing [C++]

Metadata

Windows.winmd

See also

Geofence

 

 

Mostrar:
© 2015 Microsoft