GeofenceMonitor.Current 属性

定义

获取包含应用的所有地理围栏信息的 GeofenceMonitor 对象。

public:
 static property GeofenceMonitor ^ Current { GeofenceMonitor ^ get(); };
static GeofenceMonitor Current();
public static GeofenceMonitor Current { get; }
var geofenceMonitor = GeofenceMonitor.current;
Public Shared ReadOnly Property Current As GeofenceMonitor

属性值

获取 GeofenceMonitor 对象,该对象包含应用的所有地理围栏信息。

Windows 要求

应用功能
location

适用于

另请参阅