ContactAnnotationStore Class

Definition

Represents a data store that contains contact annotations.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactAnnotationStore
Inheritance
Object ContactAnnotationStore
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
contactsSystem

Remarks

Call ContactManager.RequestAnnotationStoreAsync to get an instance of ContactAnnotationStore.

Version history

Windows version SDK version Value added
1703 15063 FindAnnotationsForContactListAsync

Methods

CreateAnnotationListAsync()

Asynchronously creates a ContactAnnotationList.

CreateAnnotationListAsync(String)

Asynchronously creates a ContactAnnotationList and associates it with the specified user data account ID.

DisableAnnotationAsync(ContactAnnotation)

Asynchronously disables the specified ContactAnnotation, usually as a result of user input.

FindAnnotationListsAsync()

Asynchronously gets the list of ContactAnnotationList objects for the app.

FindAnnotationsForContactAsync(Contact)

Get the annotations for the specified Contact.

FindAnnotationsForContactListAsync(String)

Gets the annotations for the specified ContactList.

FindContactIdsByEmailAsync(String)

Gets a list of Id values based on Contact objects with a specified email address.

FindContactIdsByPhoneNumberAsync(String)

Gets a list of Id values based on Contact objects with a specified phone number.

GetAnnotationListAsync(String)

Asynchronously gets the ContactAnnotationList with the specified ID.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100