次の方法で共有


StorageFileQueryResult.GetItemCountAsync メソッド

定義

クエリ結果のセット内のファイルの数を取得します。

public:
 virtual IAsyncOperation<unsigned int> ^ GetItemCountAsync() = GetItemCountAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<uint32_t> GetItemCountAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<uint> GetItemCountAsync();
function getItemCountAsync()
Public Function GetItemCountAsync () As IAsyncOperation(Of UInteger)

戻り値

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation

IAsyncOperation<uint32_t>

このメソッドが正常に完了すると、クエリに一致する場所にあるファイルの数が返されます。

実装

属性

適用対象

こちらもご覧ください