Freigeben über


ContactQueryResult.GetContactCountAsync Methode

Definition

Ruft die Anzahl der Kontakte im Kontaktspeicher ab.

public:
 virtual IAsyncOperation<unsigned int> ^ GetContactCountAsync() = GetContactCountAsync;
IAsyncOperation<uint32_t> GetContactCountAsync();
public IAsyncOperation<uint> GetContactCountAsync();
function getContactCountAsync()
Public Function GetContactCountAsync () As IAsyncOperation(Of UInteger)

Gibt zurück

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation<unsigned int>

IAsyncOperation<uint32_t>

Nach Abschluss dieser Methode wird die Anzahl der Kontakte im Kontaktspeicher zurückgegeben. Wenn Sie die asynchrone Programmierung verwenden, ist der Ergebnistyp eine ganze Zahl ohne Vorzeichen.

Windows-Anforderungen

App-Funktionen
ID_CAP_CONTACTS [Windows Phone]

Gilt für:

Weitere Informationen