Compartir a través de


CLRegion.Contains(CLLocationCoordinate2D) Método

Definición

Sondea si la ubicación especificada se encuentra dentro de la región.

[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

Parámetros

coordinate
CLLocationCoordinate2D

Coordenada que se va a sondear.

Devoluciones

Atributos

Se aplica a