IStorageItemExtraProperties IStorageItemExtraProperties IStorageItemExtraProperties IStorageItemExtraProperties Interface

Saves and retrieves the properties of a storage item.

Syntax

Declaration

public interface IStorageItemExtraPropertiespublic interface IStorageItemExtraPropertiesPublic Interface IStorageItemExtraProperties

Methods summary

Retrieves the specified properties associated with the item.

Saves all properties associated with the item.

Saves the specified properties and values associated with the item.

Methods

  • RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable{System.String})
    RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable{System.String})
    RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable{System.String})
    RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable{System.String})

    Retrieves the specified properties associated with the item.

    public IAsyncOperation<IMap<string, object>> RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable{System.String} propertiesToRetrieve)public IAsyncOperation<IMap<string, object>> RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable{System.String} propertiesToRetrieve)Public Function RetrievePropertiesAsync(propertiesToRetrieve As Windows.Foundation.Collections.IIterable{System.String}) As IAsyncOperation( Of IMapstring, object )

    Parameters

    • propertiesToRetrieve

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

    Returns

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

  • SavePropertiesAsync()
    SavePropertiesAsync()
    SavePropertiesAsync()
    SavePropertiesAsync()

    Saves all properties associated with the item.

    public IAsyncAction SavePropertiesAsync()public IAsyncAction SavePropertiesAsync()Public Function SavePropertiesAsync() As IAsyncAction

    Returns

    Remarks

    If any one of the property values is invalid, none of the values will be saved.

  • SavePropertiesAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String, System.Object}})
    SavePropertiesAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String, System.Object}})
    SavePropertiesAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String, System.Object}})
    SavePropertiesAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String, System.Object}})

    Saves the specified properties and values associated with the item.

    public IAsyncAction SavePropertiesAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String, System.Object}} propertiesToSave)public IAsyncAction SavePropertiesAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String, System.Object}} propertiesToSave)Public Function SavePropertiesAsync(propertiesToSave As Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String, System.Object}}) As IAsyncAction

    Parameters

    • propertiesToSave

      A collection that contains the names and values of the properties to save as key-value pairs (type IKeyValuePair<K, V> ).

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.GuidAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.FileProperties.dll