다음을 통해 공유


ContentIndexer.RetrievePropertiesAsync 메서드

정의

지정된 콘텐츠 식별자를 기반으로 콘텐츠 속성을 가져옵니다.

public:
 virtual IAsyncOperation<IMapView<Platform::String ^, Platform::Object ^> ^> ^ RetrievePropertiesAsync(Platform::String ^ contentId, IIterable<Platform::String ^> ^ propertiesToRetrieve) = RetrievePropertiesAsync;
IAsyncOperation<IMapView<winrt::hstring, IInspectable const&>> RetrievePropertiesAsync(winrt::hstring const& contentId, IIterable<winrt::hstring> const& propertiesToRetrieve);
public IAsyncOperation<IReadOnlyDictionary<string,object>> RetrievePropertiesAsync(string contentId, IEnumerable<string> propertiesToRetrieve);
function retrievePropertiesAsync(contentId, propertiesToRetrieve)
Public Function RetrievePropertiesAsync (contentId As String, propertiesToRetrieve As IEnumerable(Of String)) As IAsyncOperation(Of IReadOnlyDictionary(Of String, Object))

매개 변수

contentId
String

Platform::String

winrt::hstring

콘텐츠 속성의 식별자입니다.

propertiesToRetrieve

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

contentId를 기반으로 검색된 속성입니다.

반환

이 메서드가 완료되면 검색된 속성을 키-값 쌍의 맵으로 반환합니다.

적용 대상