Поделиться через


CLGeocoder.GeocodePostalAddress Метод

Определение

Перегрузки

GeocodePostalAddress(CNPostalAddress, CLGeocodeCompletionHandler)
GeocodePostalAddress(CNPostalAddress, NSLocale, CLGeocodeCompletionHandler)

GeocodePostalAddress(CNPostalAddress, CLGeocodeCompletionHandler)

[Foundation.Export("geocodePostalAddress:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GeocodePostalAddress (Contacts.CNPostalAddress postalAddress, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member GeocodePostalAddress : Contacts.CNPostalAddress * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.GeocodePostalAddress : Contacts.CNPostalAddress * CoreLocation.CLGeocodeCompletionHandler -> unit

Параметры

postalAddress
CNPostalAddress
completionHandler
CLGeocodeCompletionHandler
Атрибуты

Применяется к

GeocodePostalAddress(CNPostalAddress, NSLocale, CLGeocodeCompletionHandler)

[Foundation.Export("geocodePostalAddress:preferredLocale:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GeocodePostalAddress (Contacts.CNPostalAddress postalAddress, Foundation.NSLocale locale, CoreLocation.CLGeocodeCompletionHandler completionHandler);
abstract member GeocodePostalAddress : Contacts.CNPostalAddress * Foundation.NSLocale * CoreLocation.CLGeocodeCompletionHandler -> unit
override this.GeocodePostalAddress : Contacts.CNPostalAddress * Foundation.NSLocale * CoreLocation.CLGeocodeCompletionHandler -> unit

Параметры

postalAddress
CNPostalAddress
locale
NSLocale

Будет добавлено.

Этот параметр может иметь значение null.

completionHandler
CLGeocodeCompletionHandler
Атрибуты

Применяется к