Geocoding.GetLocationsAsync(String) 方法

定義

取得給定地址的位置。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Xamarin.Essentials.Location>> GetLocationsAsync(string address);

參數

address
System.String

取回文件的地址。

傳回

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Location>>

列出最符合地址的位置,若找不到則為空。

適用於