Polyline.IndexOf(Location) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.