ContentIndexer.RetrievePropertiesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The retrieved properties, based on contentId.
Returns
IAsyncOperation<IMapView<Platform::String,Platform::Object>>
IAsyncOperation<IMapView<winrt::hstring,IInspectable>>
When this method completes, it returns the retrieved properties as a map of key-value pairs.