BasicProperties.RetrievePropertiesAsync(IIterable<String>) 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.
Mengambil properti yang ditentukan yang terkait dengan item.
public:
virtual IAsyncOperation<IMap<Platform::String ^, Platform::Object ^> ^> ^ RetrievePropertiesAsync(IIterable<Platform::String ^> ^ propertiesToRetrieve) = RetrievePropertiesAsync;
/// [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))
Parameter
Koleksi yang berisi nama properti yang akan diambil.
Mengembalikan
IAsyncOperation<IMap<Platform::String,Platform::Object>>
IAsyncOperation<IMap<winrt::hstring,IInspectable>>
Ketika metode ini berhasil diselesaikan, metode ini mengembalikan koleksi (jenis IMap) yang berisi properti dan nilai yang ditentukan sebagai pasangan kunci-nilai.
Penerapan
- Atribut
Keterangan
Di JavaScript, gunakan ataulakukan untuk menentukan fungsi handler yang akan menangkap dan memproses koleksi saat dikembalikan.