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<unsigned int>

IAsyncOperation<uint32_t>

此方法成功完成后,它将返回与查询匹配的位置中的文件数。

实现

属性

适用于

另请参阅