次の方法で共有


CLGeocoder.GeocodePostalAddressAsync メソッド

定義

オーバーロード

GeocodePostalAddressAsync(CNPostalAddress)
GeocodePostalAddressAsync(CNPostalAddress, NSLocale)

GeocodePostalAddressAsync(CNPostalAddress)

[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 System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]> GeocodePostalAddressAsync (Contacts.CNPostalAddress postalAddress);
abstract member GeocodePostalAddressAsync : Contacts.CNPostalAddress -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>
override this.GeocodePostalAddressAsync : Contacts.CNPostalAddress -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>

パラメーター

postalAddress
CNPostalAddress

戻り値

非同期の GeocodePostalAddress 操作を表すタスク。 TResult パラメーターの値は CoreLocation.CLGeocodeCompletionHandler です。

属性

注釈

GeocodePostalAddressAsync メソッドは、操作を表す Task を使用して呼び出し元に制御を返すことによって、C# async で使用するのに適しています。

追加する。

適用対象

GeocodePostalAddressAsync(CNPostalAddress, NSLocale)

[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 System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]> GeocodePostalAddressAsync (Contacts.CNPostalAddress postalAddress, Foundation.NSLocale locale);
abstract member GeocodePostalAddressAsync : Contacts.CNPostalAddress * Foundation.NSLocale -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>
override this.GeocodePostalAddressAsync : Contacts.CNPostalAddress * Foundation.NSLocale -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>

パラメーター

postalAddress
CNPostalAddress
locale
NSLocale

戻り値

属性

適用対象