ContactQueryResult.GetContactsAsync ContactQueryResult.GetContactsAsync ContactQueryResult.GetContactsAsync ContactQueryResult.GetContactsAsync ContactQueryResult.GetContactsAsync Method

Definition

Overloads

GetContactsAsync() GetContactsAsync() GetContactsAsync() GetContactsAsync() GetContactsAsync()

Retrieves contacts from the contact store.

GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32)

Retrieves contacts from the contact store given the specified starting index and number of items to return..

GetContactsAsync() GetContactsAsync() GetContactsAsync() GetContactsAsync() GetContactsAsync()

Retrieves contacts from the contact store.

public : IAsyncOperation<IVectorView<StoredContact>> GetContactsAsync()
IAsyncOperation<IVectorView<StoredContact>> GetContactsAsync() const;
public IAsyncOperation<IReadOnlyList<StoredContact>> GetContactsAsync()
Public Function GetContactsAsync() As IAsyncOperation<IReadOnlyList<StoredContact>>(Of IVectorView)
Windows.Phone.PersonalInformation.ContactQueryResult.getContactsAsync().done( /* Your success and error handlers */ );
Returns
IAsyncOperation<IReadOnlyList<StoredContact>> IAsyncOperation<IReadOnlyList<StoredContact>> IAsyncOperation<IReadOnlyList<StoredContact>>

When this method completes, it returns an IVectorView containing StoredContact objects. If you use Asynchronous programming, the result type is a read-only list/vector of StoredContact items. (You can use APIs of IVectorView; for C++, APIs of IReadOnlyList for .NET.)

Additional features and requirements
Capabilities
ID_CAP_CONTACTS [Windows Phone]
See Also

GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32) GetContactsAsync(UInt32, UInt32)

Retrieves contacts from the contact store given the specified starting index and number of items to return..

public : IAsyncOperation<IVectorView<StoredContact>> GetContactsAsync(unsigned int startIndex, unsigned int maxNumberOfItems)
IAsyncOperation<IVectorView<StoredContact>> GetContactsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
public IAsyncOperation<IReadOnlyList<StoredContact>> GetContactsAsync(UInt32 startIndex, UInt32 maxNumberOfItems)
Public Function GetContactsAsync(startIndex As UInt32, maxNumberOfItems As UInt32) As IAsyncOperation<IReadOnlyList<StoredContact>>(Of IVectorView)
Windows.Phone.PersonalInformation.ContactQueryResult.getContactsAsync(startIndex, maxNumberOfItems).done( /* Your success and error handlers */ );
Parameters
startIndex
UInt32 UInt32 UInt32

The index of the first contact to be retrieved.

maxNumberOfItems
UInt32 UInt32 UInt32

The number of contacts to retrieve.

Returns
IAsyncOperation<IReadOnlyList<StoredContact>> IAsyncOperation<IReadOnlyList<StoredContact>> IAsyncOperation<IReadOnlyList<StoredContact>>

When this method completes, it returns an IVectorView containing StoredContact objects. If you use Asynchronous programming, the result type is a read-only list/vector of StoredContact items. (You can use APIs of IVectorView; for C++, APIs of IReadOnlyList for .NET.)

Additional features and requirements
Capabilities
ID_CAP_CONTACTS [Windows Phone]
See Also