ContactStore.FindContactsAsync ContactStore.FindContactsAsync ContactStore.FindContactsAsync ContactStore.FindContactsAsync ContactStore.FindContactsAsync Method

Definition

Overloads

FindContactsAsync() FindContactsAsync() FindContactsAsync() FindContactsAsync() FindContactsAsync()

Retrieves the list of all contacts in the contact store.

FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String)

Retrieves a list of Contact objects based on the supplied search text.

FindContactsAsync() FindContactsAsync() FindContactsAsync() FindContactsAsync() FindContactsAsync()

Retrieves the list of all contacts in the contact store.

public : IAsyncOperation<IVectorView<Contact>> FindContactsAsync()
IAsyncOperation<IVectorView<Contact>> FindContactsAsync() const;
public IAsyncOperation<IReadOnlyList<Contact>> FindContactsAsync()
Public Function FindContactsAsync() As IAsyncOperation<IReadOnlyList<Contact>>(Of IVectorView)
Windows.ApplicationModel.Contacts.ContactStore.findContactsAsync().done( /* Your success and error handlers */ );

Returns

IAsyncOperation<IReadOnlyList<Contact>> IAsyncOperation<IReadOnlyList<Contact>> IAsyncOperation<IReadOnlyList<Contact>>

An asynchronous operation that returns a list of all Contact objects in the contact store. If you use Asynchronous programming, the result type is a read-only list/vector of Contact items. (You can use APIs of IVectorView; for C++ or JavaScript, APIs of IReadOnlyList for .NET.)

Additional features and requirements

Capabilities
contactsSystem
See also

FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String) FindContactsAsync(String)

Retrieves a list of Contact objects based on the supplied search text.

public : IAsyncOperation<IVectorView<Contact>> FindContactsAsync(Platform::String searchText)
IAsyncOperation<IVectorView<Contact>> FindContactsAsync(winrt::hstring searchText) const;
public IAsyncOperation<IReadOnlyList<Contact>> FindContactsAsync(String searchText)
Public Function FindContactsAsync(searchText As String) As IAsyncOperation<IReadOnlyList<Contact>>(Of IVectorView)
Windows.ApplicationModel.Contacts.ContactStore.findContactsAsync(searchText).done( /* Your success and error handlers */ );

Parameters

searchText
String String String

The search string for the operation. The query will attempt to match the name (Name ), email address (Emails values), or phone number (Phones values) of a contact.

Returns

IAsyncOperation<IReadOnlyList<Contact>> IAsyncOperation<IReadOnlyList<Contact>> IAsyncOperation<IReadOnlyList<Contact>>

An asynchronous operation that returns a search-filtered list of contacts on successful completion. If you use Asynchronous programming, the result type is a read-only list/vector of Contact items. (You can use APIs of IVectorView; for C++ or JavaScript, APIs of IReadOnlyList for .NET.)

Additional features and requirements

Capabilities
contactsSystem
See also