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

Definition

Retrieves the specified 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.VideoProperties.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

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

See Also