你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MapsRoutingModelFactory.RouteInstructionGroup 方法

定义

初始化 RouteInstructionGroup 的新实例。

public static Azure.Maps.Routing.Models.RouteInstructionGroup RouteInstructionGroup (int? firstInstructionIndex = default, int? lastInstructionIndex = default, int? groupLengthInMeters = default, string groupMessage = default);
static member RouteInstructionGroup : Nullable<int> * Nullable<int> * Nullable<int> * string -> Azure.Maps.Routing.Models.RouteInstructionGroup
Public Shared Function RouteInstructionGroup (Optional firstInstructionIndex As Nullable(Of Integer) = Nothing, Optional lastInstructionIndex As Nullable(Of Integer) = Nothing, Optional groupLengthInMeters As Nullable(Of Integer) = Nothing, Optional groupMessage As String = Nothing) As RouteInstructionGroup

参数

firstInstructionIndex
Nullable<Int32>

指令中属于此组的第一个指令的索引。

lastInstructionIndex
Nullable<Int32>

指令中属于此组的最后一条指令的索引。

groupLengthInMeters
Nullable<Int32>

组的长度。

groupMessage
String

请求人类可读文本消息以获取指导时的摘要消息 (instructionType=text 或标记) 。

返回

用于模拟的新 RouteInstructionGroup 实例。

适用于