GuidanceNavigator.StartSimulating(GuidanceRoute, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的路由,開始模擬導覽指引。
注意
此 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
導航仿真的速度,以每秒公尺為單位。