共用方式為


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>

這個方法成功完成時,它會傳回符合查詢的位置檔案數目。

實作

屬性

適用於

另請參閱