ContactAnnotationStore Class

Definition

Represents a data store that contains contact annotations.

public ref class ContactAnnotationStore sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactAnnotationStore final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactAnnotationStore
Public NotInheritable Class ContactAnnotationStore
Inheritance
Object Platform::Object IInspectable 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