CLRegion.Contains(CLLocationCoordinate2D) 方法

定义

探测给定位置是否包含在区域中。

[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

参数

coordinate
CLLocationCoordinate2D

要探测的坐标。

返回

属性

适用于