Share via


ContactAnnotationStore Classe

Définition

Représente un magasin de données qui contient des annotations de contact.

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
Héritage
Object Platform::Object IInspectable ContactAnnotationStore
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
contactsSystem

Remarques

Appelez ContactManager.RequestAnnotationStoreAsync pour obtenir une instance de ContactAnnotationStore.

Historique des versions

Version de Windows Version du SDK Valeur ajoutée
1703 15063 FindAnnotationsForContactListAsync

Méthodes

CreateAnnotationListAsync()

Crée de façon asynchrone un ContactAnnotationList.

CreateAnnotationListAsync(String)

Crée de façon asynchrone un ContactAnnotationList et l’associe à l’ID de compte de données utilisateur spécifié.

DisableAnnotationAsync(ContactAnnotation)

Désactive de façon asynchrone l’élément ContactAnnotation spécifié, généralement à la suite d’une entrée utilisateur.

FindAnnotationListsAsync()

Obtient de façon asynchrone la liste des objets ContactAnnotationList pour l’application.

FindAnnotationsForContactAsync(Contact)

Obtenez les annotations pour le contact spécifié.

FindAnnotationsForContactListAsync(String)

Obtient les annotations pour le ContactList spécifié.

FindContactIdsByEmailAsync(String)

Obtient une liste de valeurs d’ID basées sur les objets Contact avec une adresse e-mail spécifiée.

FindContactIdsByPhoneNumberAsync(String)

Obtient une liste de valeurs d’ID basées sur les objets Contact avec un numéro de téléphone spécifié.

GetAnnotationListAsync(String)

Obtient de façon asynchrone contactAnnotationList avec l’ID spécifié.

S’applique à