Polygon.Contains(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.
Returns whether the specified location is contained in this polygon.
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 polygon.
Returns
true
if item
is contained in the location collection of this polygon, otherwise false
.
Implements
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.