IStorageItemExtraProperties.SavePropertiesAsync Method

Definition

Overloads

SavePropertiesAsync()

Saves all properties associated with the item.

SavePropertiesAsync(IEnumerable<KeyValuePair<String,Object>>)

Saves the specified properties and values associated with the item.

SavePropertiesAsync()

Saves all properties associated with the item.

public:
 IAsyncAction ^ SavePropertiesAsync();
IAsyncAction SavePropertiesAsync();
[Windows.Foundation.Metadata.Overload("SavePropertiesAsyncOverloadDefault")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SavePropertiesAsync();
function savePropertiesAsync()
Public Function SavePropertiesAsync () As IAsyncAction

Returns

IAsyncAction

An object for managing the asynchronous save operation.

Attributes

Remarks

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

See also

SavePropertiesAsync(IEnumerable<KeyValuePair<String,Object>>)

Saves the specified properties and values associated with the item.

public:
 IAsyncAction ^ SavePropertiesAsync(IIterable<IKeyValuePair<Platform::String ^, Platform::Object ^> ^> ^ propertiesToSave);
IAsyncAction SavePropertiesAsync(IIterable<IKeyValuePair<winrt::hstring, IInspectable const &>> const & propertiesToSave);
[Windows.Foundation.Metadata.Overload("SavePropertiesAsync")]
public IAsyncAction SavePropertiesAsync(IEnumerable<KeyValuePair<string,object>> propertiesToSave);
function savePropertiesAsync(propertiesToSave)
Public Function SavePropertiesAsync (propertiesToSave As IEnumerable(Of KeyValuePair(Of String, Object))) As IAsyncAction

Parameters

propertiesToSave
IEnumerable<KeyValuePair<String,Object>>

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

Returns

IAsyncAction

No object or value is returned when this method completes.

Attributes

See also

Applies to