MusicProperties.RetrievePropertiesAsync(IIterable<String>) MusicProperties.RetrievePropertiesAsync(IIterable<String>) MusicProperties.RetrievePropertiesAsync(IIterable<String>) MusicProperties.RetrievePropertiesAsync(IIterable<String>) MusicProperties.RetrievePropertiesAsync(IIterable<String>) Method

Definition

Retrieves the specified music-related Windows file properties associated with the item.

public : IAsyncOperation<IMap<Platform::String, Platform::Object>> RetrievePropertiesAsync(IIterable<Platform::String> propertiesToRetrieve)
IAsyncOperation<IMap<winrt::hstring, winrt::Windows::Foundation::IInspectable>> RetrievePropertiesAsync(IIterable<winrt::hstring> propertiesToRetrieve) const;
public IAsyncOperation<IDictionary<string, object>> RetrievePropertiesAsync(IEnumerable<String> propertiesToRetrieve)
Public Function RetrievePropertiesAsync(propertiesToRetrieve As IEnumerable(Of String)) As IAsyncOperation<IDictionary<string, object>>(Of IMap)
Windows.Storage.FileProperties.MusicProperties.retrievePropertiesAsync(propertiesToRetrieve).done( /* Your success and error handlers */ );

Parameters

propertiesToRetrieve
IEnumerable<String> IEnumerable<String> IEnumerable<String>

A collection that contains the names of the properties to retrieve.

Returns

IAsyncOperation<IDictionary<string, object>> IAsyncOperation<IDictionary<string, object>> IAsyncOperation<IDictionary<string, object>>

When this method completes successfully, it returns a collection (type IMap ) that contains the specified properties and values as key-value pairs.

Remarks

For more information about the music-related file properties you can retrieve using this method, see Music Windows Properties.

In JavaScript, use then or done to specify handler functions that will capture and process the collection when it is returned.

See also