Jaa


ContentIndexer.RetrievePropertiesAsync Method

Definition

Gets content properties based on the given content identifier.

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))

Parameters

contentId
String

Platform::String

winrt::hstring

The identifier for the content properties.

propertiesToRetrieve

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The retrieved properties, based on contentId.

Returns

When this method completes, it returns the retrieved properties as a map of key-value pairs.

Applies to