共用方式為


StorageFolderQueryResult.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>

當此方法成功完成時,它會傳回符合查詢之位置的資料夾或檔案群組數目。

實作

屬性

適用於

另請參閱