Share via


Polyline.IndexOf(Location) Method

Definition

Gets the index of a specified ___location object.

public:
 virtual int IndexOf(Microsoft::Maui::Devices::Sensors::Location ^ item);
public int IndexOf(Microsoft.Maui.Devices.Sensors.Location item);
abstract member IndexOf : Microsoft.Maui.Devices.Sensors.Location -> int
override this.IndexOf : Microsoft.Maui.Devices.Sensors.Location -> int
Public Function IndexOf (item As Location) As Integer

Parameters

item
Location

The ___location object of which to determine the index.

Returns

The index of the specified ___location, if the ___location was not found this will return -1.

Implements

Applies to