LocalLocationFinder.FindLocalLocationsAsync メソッド

定義

指定した検索条件を満たす企業と場所に関する情報を取得します。

注意

この API は、すべての Windows アプリで使用できるわけではありません。 開発者アカウントが Microsoft によって特別にプロビジョニングされていない限り、この API の呼び出しは実行時に失敗します。 Windows.Services.Maps.LocalSearch 名前空間の詳細については、Microsoft アカウント チームの担当者にお問い合わせください。

public:
 static IAsyncOperation<LocalLocationFinderResult ^> ^ FindLocalLocationsAsync(Platform::String ^ searchTerm, Geocircle ^ searchArea, Platform::String ^ localCategory, unsigned int maxResults);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LocalLocationFinderResult> FindLocalLocationsAsync(winrt::hstring const& searchTerm, Geocircle const& searchArea, winrt::hstring const& localCategory, uint32_t const& maxResults);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LocalLocationFinderResult> FindLocalLocationsAsync(string searchTerm, Geocircle searchArea, string localCategory, uint maxResults);
function findLocalLocationsAsync(searchTerm, searchArea, localCategory, maxResults)
Public Shared Function FindLocalLocationsAsync (searchTerm As String, searchArea As Geocircle, localCategory As String, maxResults As UInteger) As IAsyncOperation(Of LocalLocationFinderResult)

パラメーター

searchTerm
String

Platform::String

winrt::hstring

検索のクエリ テキスト。を検索しています。

searchArea
Geocircle

検索に含める地理的領域。

localCategory
String

Platform::String

winrt::hstring

検索結果を制限するために使用される検索カテゴリ。 localCategory プロパティを指定するには、1 つ以上の LocalCategories プロパティを使用することをお勧めします。 複数のカテゴリを指定するには、セミコロン "; " 区切り記号を使用します。

maxResults
UInt32

unsigned int

uint32_t

検索から返される結果の最大数。

戻り値

LocalLocationFinderResult 型の、指定した検索条件を満たす関連する企業または場所。

属性

適用対象