다음을 통해 공유


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# 비동기에서 사용하는 데 적합합니다.

추가될 예정입니다.

적용 대상

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

반환

특성

적용 대상