Share via


MapsRoutingModelFactory.RouteInstructionGroup Method

Definition

Initializes a new instance of 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

Parameters

firstInstructionIndex
Nullable<Int32>

Index of the first instruction in the instructions and belonging to this group.

lastInstructionIndex
Nullable<Int32>

Index of the last instruction in the instructions and belonging to this group.

groupLengthInMeters
Nullable<Int32>

Length of the group.

groupMessage
String

Summary message when human-readable text messages are requested for guidance (instructionType=text or tagged).

Returns

A new RouteInstructionGroup instance for mocking.

Applies to