ContactQueryResult.GetContactCountAsync Method

Definition

Gets the number of contacts in the contact store.

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

Returns

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation

IAsyncOperation<uint32_t>

When this method completes, it returns the number of contacts in the contact store. If you use Asynchronous programming, the result type is an unsigned integer number.

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Applies to

See also