StorageItemContentProperties.RetrievePropertiesAsync(IIterable<String>) StorageItemContentProperties.RetrievePropertiesAsync(IIterable<String>) StorageItemContentProperties.RetrievePropertiesAsync(IIterable<String>) StorageItemContentProperties.RetrievePropertiesAsync(IIterable<String>) StorageItemContentProperties.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.StorageItemContentProperties.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. The list of supported properties can be found on the System properties page.

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. The return value of properties can be null.

Remarks

Expando properties can be retrieved by RetrievePropertiesAsync. See the remarks under SavePropertiesAsync(IIterable(IKeyValuePair)).

See Also