StorageItemMostRecentlyUsedList.GetItemAsync メソッド

定義

オーバーロード

GetItemAsync(String)

指定した項目 (ファイルやフォルダーなど) を、最後に使用した (MRU) リストから取得します。

GetItemAsync(String, AccessCacheOptions)

指定したオプションを使用して、指定した項目 (ファイルやフォルダーなど) を最後に使用した (MRU) リストから取得します。

GetItemAsync(String)

指定した項目 (ファイルやフォルダーなど) を、最後に使用した (MRU) リストから取得します。

public:
 virtual IAsyncOperation<IStorageItem ^> ^ GetItemAsync(Platform::String ^ token) = GetItemAsync;
/// [Windows.Foundation.Metadata.Overload("GetItemAsync")]
IAsyncOperation<IStorageItem> GetItemAsync(winrt::hstring const& token);
[Windows.Foundation.Metadata.Overload("GetItemAsync")]
public IAsyncOperation<IStorageItem> GetItemAsync(string token);
function getItemAsync(token)
Public Function GetItemAsync (token As String) As IAsyncOperation(Of IStorageItem)

パラメーター

token
String

Platform::String

winrt::hstring

取得するアイテムのトークン。

戻り値

このメソッドが正常に完了すると、指定したトークンに関連付けられている項目 (型 IStorageItem) が返されます。

実装

M:Windows.Storage.AccessCache.IStorageItemAccessList.GetItemAsync(System.String) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetItemAsync(Platform::String) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetItemAsync(winrt::hstring)
属性

こちらもご覧ください

適用対象

GetItemAsync(String, AccessCacheOptions)

指定したオプションを使用して、指定した項目 (ファイルやフォルダーなど) を最後に使用した (MRU) リストから取得します。

public:
 virtual IAsyncOperation<IStorageItem ^> ^ GetItemAsync(Platform::String ^ token, AccessCacheOptions options) = GetItemAsync;
/// [Windows.Foundation.Metadata.Overload("GetItemWithOptionsAsync")]
IAsyncOperation<IStorageItem> GetItemAsync(winrt::hstring const& token, AccessCacheOptions const& options);
[Windows.Foundation.Metadata.Overload("GetItemWithOptionsAsync")]
public IAsyncOperation<IStorageItem> GetItemAsync(string token, AccessCacheOptions options);
function getItemAsync(token, options)
Public Function GetItemAsync (token As String, options As AccessCacheOptions) As IAsyncOperation(Of IStorageItem)

パラメーター

token
String

Platform::String

winrt::hstring

取得するアイテムのトークン。

options
AccessCacheOptions

アプリが項目にアクセスするときに使用する動作を記述する列挙値。

戻り値

このメソッドが正常に完了すると、指定したトークンに関連付けられている項目 (型 IStorageItem) が返されます。

実装

M:Windows.Storage.AccessCache.IStorageItemAccessList.GetItemAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetItemAsync(Platform::String,Windows.Storage.AccessCache.AccessCacheOptions) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetItemAsync(winrt::hstring,Windows.Storage.AccessCache.AccessCacheOptions)
属性

こちらもご覧ください

適用対象