Bagikan melalui


BasicProperties.SavePropertiesAsync Metode

Definisi

Overload

SavePropertiesAsync()

Menyimpan semua properti yang terkait dengan item.

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

Menyimpan properti dan nilai yang ditentukan yang terkait dengan item.

SavePropertiesAsync()

Menyimpan semua properti yang terkait dengan item.

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

Mengembalikan

Tidak ada objek atau nilai yang dikembalikan ketika metode ini selesai.

Penerapan

Atribut

Keterangan

Jika salah satu nilai properti tidak valid, tidak ada nilai yang akan disimpan.

Berlaku untuk

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

Menyimpan properti dan nilai yang ditentukan yang terkait dengan item.

public:
 virtual IAsyncAction ^ SavePropertiesAsync(IIterable<IKeyValuePair<Platform::String ^, Platform::Object ^> ^> ^ propertiesToSave) = SavePropertiesAsync;
/// [Windows.Foundation.Metadata.Overload("SavePropertiesAsync")]
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

Parameter

propertiesToSave

IIterable<IKeyValuePair<String,Object>>

IEnumerable<KeyValuePair<String,Object>>

IIterable<IKeyValuePair<Platform::String,Platform::Object>>

IIterable<IKeyValuePair<winrt::hstring,IInspectable>>

Koleksi yang berisi nama dan nilai properti untuk disimpan sebagai pasangan kunci-nilai (ketik IKeyValuePair).

Mengembalikan

Tidak ada objek atau nilai yang dikembalikan ketika metode ini selesai.

Penerapan

M:Windows.Storage.FileProperties.IStorageItemExtraProperties.SavePropertiesAsync(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}}) M:Windows.Storage.FileProperties.IStorageItemExtraProperties.SavePropertiesAsync(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{Platform::String,Platform::Object}}) M:Windows.Storage.FileProperties.IStorageItemExtraProperties.SavePropertiesAsync(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{winrt::hstring,IInspectable}})
Atribut

Lihat juga

Berlaku untuk