NavigationManager.SetNavigationLockState(Boolean) 方法

定义

设置导航当前是否处于锁定状态。 如果是,则实现在首次通过调用 NotifyLocationChanged(Boolean) 确认导航之前不应更新Uri和调用 NotifyLocationChangingAsync(String, String, Boolean)

protected virtual void SetNavigationLockState (bool value);
abstract member SetNavigationLockState : bool -> unit
override this.SetNavigationLockState : bool -> unit
Protected Overridable Sub SetNavigationLockState (value As Boolean)

参数

value
Boolean

导航当前是否已锁定。

适用于