ContentIndexerQuery.GetCountAsync 方法

定义

获取搜索结果中的项数。

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

返回

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation<unsigned int>

IAsyncOperation<uint32_t>

此方法完成后,它将返回搜索结果中的项数。

属性

适用于