Düzenle

Aracılığıyla paylaş


CLRegion.Contains(CLLocationCoordinate2D) Method

Definition

Probes whether the given location is contained within the region.

[Foundation.Export("containsCoordinate:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CLCircularRegion' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'CLCircularRegion' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool Contains (CoreLocation.CLLocationCoordinate2D coordinate);
abstract member Contains : CoreLocation.CLLocationCoordinate2D -> bool
override this.Contains : CoreLocation.CLLocationCoordinate2D -> bool

Parameters

coordinate
CLLocationCoordinate2D

The coordinate to probe.

Returns

Attributes

Applies to