Freigeben über


IStorageQueryResultBase.GetItemCountAsync Methode

Definition

Ruft die Anzahl der Elemente ab, die mit der Abfrage übereinstimmen, die ein StorageFileQueryResult-, StorageFolderQueryResult- oder StorageItemQueryResult-Objekt erstellt hat.

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)

Gibt zurück

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation

IAsyncOperation<uint32_t>

Wenn diese Methode erfolgreich abgeschlossen wurde, gibt sie die Anzahl der Elemente zurück, die der Abfrage entsprechen.

Attribute

Gilt für: