ImageProperties.RetrievePropertiesAsync(IIterable<String>) メソッド

定義

アイテムに関連付けられている指定したプロパティを取得します。

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))

パラメーター

propertiesToRetrieve

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

取得するプロパティの名前を含むコレクション。

戻り値

IAsyncOperation<IMap<String,Object>>

IAsyncOperation<IDictionary<String,Object>>

IAsyncOperation<IMap<Platform::String,Platform::Object>>

IAsyncOperation<IMap<winrt::hstring,IInspectable>>

このメソッドが正常に完了すると、指定されたプロパティと値をキーと値のペアとして含むコレクション (型 IMap) が返されます。

実装

M:Windows.Storage.FileProperties.IStorageItemExtraProperties.RetrievePropertiesAsync(System.Collections.Generic.IEnumerable{System.String}) M:Windows.Storage.FileProperties.IStorageItemExtraProperties.RetrievePropertiesAsync(System.Collections.Generic.IEnumerable{Platform::String}) M:Windows.Storage.FileProperties.IStorageItemExtraProperties.RetrievePropertiesAsync(System.Collections.Generic.IEnumerable{winrt::hstring})
属性

注釈

JavaScript では、 then または done使用して、コレクションが返されたときにコレクションをキャプチャして処理するハンドラー関数を指定します。

適用対象

こちらもご覧ください