Freigeben über


CLRegion.Contains(CLLocationCoordinate2D) Methode

Definition

Überprüft, ob der angegebene Standort innerhalb der Region enthalten ist.

[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

Parameter

coordinate
CLLocationCoordinate2D

Die zu überprüfende Koordinate.

Gibt zurück

Attribute

Gilt für: