IStorageItemExtraProperties.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.
Retrieves the specified properties associated with the item.
public:
IAsyncOperation<IMap<Platform::String ^, Platform::Object ^> ^> ^ RetrievePropertiesAsync(IIterable<Platform::String ^> ^ propertiesToRetrieve);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IMap<winrt::hstring, IInspectable const&>> RetrievePropertiesAsync(IIterable<winrt::hstring> const& propertiesToRetrieve);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IDictionary<string,object>> RetrievePropertiesAsync(IEnumerable<string> propertiesToRetrieve);
function retrievePropertiesAsync(propertiesToRetrieve)
Public Function RetrievePropertiesAsync (propertiesToRetrieve As IEnumerable(Of String)) As IAsyncOperation(Of IDictionary(Of String, Object))
Parameters
A collection that contains the names of the properties to retrieve. Pass null to retrieve all possible properties.
Returns
IAsyncOperation<IMap<Platform::String,Platform::Object>>
IAsyncOperation<IMap<winrt::hstring,IInspectable>>
When this method completes successfully, it returns a collection (type IMap) that contains the specified properties and values as key-value pairs.
- Attributes