共用方式為


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
屬性

適用於