Windows.ApplicationModel.Contacts Namespace

Permet aux applications de sélectionner et acquérir des informations sur les contacts.

Remarque  N'utilisez pas l'API dans le nouvel espace de noms généré avec Windows 8.1 ; l'API dans cet espace de noms peut ne plus être disponible pour les versions postérieures à Windows 8.1. Si vous combinez ces API dans votre application, celle-ci échouera.

Membres

Windows.ApplicationModel.ContactsEspace de noms possède ces types de membres :

Classes

Windows.ApplicationModel.ContactsEspace de noms possède ces classes.

ClasseDescription
Contact Represents a contact.
ContactAddress Represents the address of a contact.
ContactCardDelayedDataLoader Represents a delayed data loader for a contact card.
ContactConnectedServiceAccount Represents a connected service account for a contact.
ContactDate Represents an important date for a contact.
ContactEmail Represents an email address of a contact.
ContactField ContactField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactSignificantOther, Contact, ContactEmail, ContactConnectedServiceAccount, ContactWebsite, ContactJobInfo, or ContactDate. Describes a piece of contact data.
ContactFieldFactory ContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactSignificantOther, Contact, ContactEmail, ContactWebsite, ContactJobInfo, or ContactDate. Creates fields that contain information about a contact.
ContactInformation ContactInformation may be altered or unavailable for releases after Windows 8.1. Instead, use Contact. Contains the information about a contact.
ContactInstantMessageField ContactInstantMessageField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount. Defines a field that is an instant messaging (IM) address.
ContactJobInfo Represents job info for a contact.
ContactLaunchActionVerbs Provides data when an app is launched to perform an action to a contact.
ContactLocationField ContactLocationField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress. Contains information about a user's location and address.
ContactManager Represents a service that source apps can call to access contact data.
ContactPhone Represents info about the phone for a contact.
ContactPicker Controls how the Contact Picker user interface opens and what information it shows.
ContactSignificantOther Represents the info about a significant other for a contact.
ContactWebsite Represents the info about a Web site for a contact.
KnownContactField KnownContactField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactConnectedServiceAccount, or ContactEmail. A static class that contains the names of contact fields for storing commonly requested information like email address and phone numbers.

 

Énumérations

Windows.ApplicationModel.ContactsEspace de noms possède ces énumérations.

ÉnumérationDescription
ContactAddressKind Specifies the kinds of contact addresses.
ContactDateKind Specifies the kinds of important dates for a contact.
ContactEmailKind Specifies the kinds of email addresses for a contact.
ContactFieldCategory ContactFieldCategory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhoneKind, ContactEmailKind, and ContactAddressKind. Defines the categories that contact data can belong to.
ContactFieldType Defines the type of contact data.
ContactPhoneKind Specifies the kinds of phones for a contact.
ContactSelectionMode Specifies whether you want to request an entire contact, or only specific fields.

 

Interfaces

Windows.ApplicationModel.ContactsEspace de noms définit ces interfaces.

InterfaceDescription
IContactField IContactField may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactSignificantOther, Contact, ContactEmail, ContactConnectedServiceAccount, ContactWebsite, ContactJobInfo, or ContactDate. Specifies an object that describes a piece of contact data.
IContactFieldFactory IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail. Creates fields that contain information about a contact. Available only to apps that support the Contacts contract.
IContactInstantMessageFieldFactory IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount. Creates fields with information about a contact's instant messaging accounts.
IContactLocationFieldFactory IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress. Creates fields for a contact's location.

 

Conditions requises

Client minimal pris en charge

Windows 8

Serveur minimal pris en charge

Windows Server 2012

Espace de noms

Windows.ApplicationModel.Contacts
Windows::ApplicationModel::Contacts [C++]

Métadonnées

Windows.winmd

Voir aussi

Exemple d'API de gestionnaire de contacts
Exemple d'application de sélecteur de contact
Exemple de gestion des actions de contact
Windows.ApplicationModel.Contacts.Provider

 

 

Afficher:
© 2014 Microsoft