Condividi tramite


Polyline.IndexOf(Location) Metodo

Definizione

Ottiene l'indice di un oggetto location specificato.

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

Parametri

item
Location

Oggetto location di cui determinare l'indice.

Restituisce

L'indice della posizione specificata, se la posizione non è stata trovata, restituirà -1.

Implementazioni

Si applica a