StorageItemQueryResult.GetItemCountAsync Methode

Definition

Ruft die Anzahl der Elemente im Satz der Abfrageergebnisse ab.

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)

Gibt zurück

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation

IAsyncOperation<uint32_t>

Wenn diese Methode erfolgreich abgeschlossen wurde, gibt sie die Anzahl der Elemente an dem Speicherort zurück, die mit der Abfrage übereinstimmen.

Implementiert

Attribute

Hinweise

Diese Methode löst eine Ausnahme aus, wenn die Bibliotheksdefinition für die Abfrage leer ist.

Gilt für:

Weitere Informationen