Share via


Polyline.Contains(Location) Method

Definition

Returns whether the specified location is contained in this polyline.

public:
 virtual bool Contains(Microsoft::Maui::Devices::Sensors::Location ^ item);
public bool Contains (Microsoft.Maui.Devices.Sensors.Location item);
abstract member Contains : Microsoft.Maui.Devices.Sensors.Location -> bool
override this.Contains : Microsoft.Maui.Devices.Sensors.Location -> bool
Public Function Contains (item As Location) As Boolean

Parameters

item
Location

The location object of which to determine if it is contained in the location collection of this polyline.

Returns

true if item is contained in the location collection of this polyline, otherwise false.

Implements

Applies to