다음을 통해 공유


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

검색 결과를 제한하는 데 사용되는 검색 범주입니다. 하나 이상의 LocalCategories 속성을 사용하여 localCategory지정하는 것이 좋습니다. 세미콜론 "; 사용 " 구분 기호를 사용하여 둘 이상의 범주를 지정합니다.

maxResults
UInt32

unsigned int

uint32_t

검색에서 반환할 최대 결과 수입니다.

반환

LocalLocationFinderResult형식의 지정된 검색 조건을 충족하는 관련 비즈니스 또는 .

특성

적용 대상