다음을 통해 공유


CurrentAppSimulator.LoadListingInformationByKeywordsAsync 메서드

정의

제공된 모든 키워드와 일치하는 ProductListings 컬렉션에서 앱 내 제품을 반환하여 시뮬레이션된 앱 목록 정보를 비동기적으로 로드합니다.

public:
 static IAsyncOperation<ListingInformation ^> ^ LoadListingInformationByKeywordsAsync(IIterable<Platform::String ^> ^ keywords);
 static IAsyncOperation<ListingInformation> LoadListingInformationByKeywordsAsync(IIterable<winrt::hstring> const& keywords);
public static IAsyncOperation<ListingInformation> LoadListingInformationByKeywordsAsync(IEnumerable<string> keywords);
function loadListingInformationByKeywordsAsync(keywords)
Public Shared Function LoadListingInformationByKeywordsAsync (keywords As IEnumerable(Of String)) As IAsyncOperation(Of ListingInformation)

매개 변수

keywords

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

ListingInformation 개체에 반환되는 ProductListings 컬렉션을 필터링할 키워드 목록입니다.

반환

ProductListings 컬렉션이 키워드로 필터링된 시뮬레이션된 앱 목록 정보입니다. 메서드가 실패하면 HRESULT 오류 코드가 반환됩니다. 지정된 모든 키워드와 일치하는 앱 내 제품이 없으면 ProductListings 컬렉션이 비어 있습니다.

설명

WindowsStoreProxy.xml 파일의 ListingInformation 요소를 반환된 개체의 멤버에 대한 데이터 원본으로 사용합니다. 자세한 내용은 CurrentAppSimulator에서 WindowsStoreProxy.xml 파일 사용을 참조하세요.

이 메서드를 호출하려면 인터넷 연결이 필요합니다.

적용 대상