ContactReader ContactReader ContactReader ContactReader ContactReader Class

Definition

Used to read Contact objects in batches from the ContactStore which may be local or remotely located.

public : sealed class ContactReader : IContactReader
struct winrt::Windows::ApplicationModel::Contacts::ContactReader : IContactReader
public sealed class ContactReader : IContactReader
Public NotInheritable Class ContactReader Implements IContactReader
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Remarks

Use GetContactReader or GetContactReader(ContactQueryOptions) to get an instance of this class.

Methods

GetMatchingPropertiesWithMatchReason(Contact) GetMatchingPropertiesWithMatchReason(Contact) GetMatchingPropertiesWithMatchReason(Contact) GetMatchingPropertiesWithMatchReason(Contact) GetMatchingPropertiesWithMatchReason(Contact)

Gets the reason a Contact matched the search query. Returns the properties and substrings that match.

ReadBatchAsync() ReadBatchAsync() ReadBatchAsync() ReadBatchAsync() ReadBatchAsync()

Asynchronously reads a batch of Contact objects from the ContactStore.