IStorageItemExtraProperties.SavePropertiesAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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:
IAsyncAction ^ 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
Objek untuk mengelola operasi penyimpanan asinkron.
- Atribut
Keterangan
Jika salah satu nilai properti tidak valid, tidak ada nilai yang akan disimpan.
Lihat juga
Berlaku untuk
SavePropertiesAsync(IIterable<KeyValuePair<String,Object>>)
Menyimpan properti dan nilai yang ditentukan yang terkait dengan item.
public:
IAsyncAction ^ SavePropertiesAsync(IIterable<IKeyValuePair<Platform::String ^, Platform::Object ^> ^> ^ propertiesToSave);
/// [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<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.
- Atribut