IStorageQueryResultBase.GetItemCountAsync 方法

定义

检索与创建 StorageFileQueryResultStorageFolderQueryResultStorageItemQueryResult 对象的查询匹配的项数。

public:
 IAsyncOperation<unsigned int> ^ 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>

此方法成功完成后,将返回与查询匹配的项数。

属性

适用于