Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Geofence.Geoshape Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

The shape of the geofence region.

public:
 property IGeoshape ^ Geoshape { IGeoshape ^ get(); };
IGeoshape Geoshape();
public IGeoshape Geoshape { get; }
var iGeoshape = geofence.geoshape;
Public ReadOnly Property Geoshape As IGeoshape

Property Value

The shape of the geofence region.

Windows requirements

Requirements Description
App capabilities
location

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.

Applies to


Feedback

Was this page helpful?