CLRegion.Contains(CLLocationCoordinate2D) 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.
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