共用方式為


GuidanceNavigator.StartSimulating(GuidanceRoute, Int32) 方法

定義

使用指定的路線開始模擬導覽指引。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則對此 API 的呼叫會在執行時間失敗。 如需 Windows.Services.Maps.Guidance 命名空間的詳細資訊,請與您的 Microsoft 帳戶小組代表合作。

public:
 virtual void StartSimulating(GuidanceRoute ^ route, int speedInMetersPerSecond) = StartSimulating;
void StartSimulating(GuidanceRoute const& route, int const& speedInMetersPerSecond);
public void StartSimulating(GuidanceRoute route, int speedInMetersPerSecond);
function startSimulating(route, speedInMetersPerSecond)
Public Sub StartSimulating (route As GuidanceRoute, speedInMetersPerSecond As Integer)

參數

route
GuidanceRoute

要巡覽的路由。

speedInMetersPerSecond
Int32

int

流覽模擬的速度,以每秒公尺為單位。

適用於