Windows.ApplicationModel.Contacts Namespace

Aktiviert Apps, um Informationen zu Kontakten auszuwählen und abzurufen.

Hinweis  Verwenden Sie keine APIs in diesem Namespace, der ab Windows 8.1 mit APIs in diesem Namespace verfügbar ist, der möglicherweise für Versionen nach Windows 8.1 nicht mehr verfügbar ist. Wenn Sie diese APIs gleichzeitig in der App verwenden, führt das zu einem Fehler.

Member

Windows.ApplicationModel.ContactsNamespace hat diese Membertypen:

Klassen

Windows.ApplicationModel.ContactsNamespace hat diese Klassen.

KlasseBeschreibung
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.

 

Enumerationen

Windows.ApplicationModel.ContactsNamespace verfügt über folgende Enumerationen.

EnumerationBeschreibung
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.

 

Schnittstellen

Windows.ApplicationModel.ContactsNamespace definiert diese Schnittstellen.

SchnittstelleBeschreibung
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.

 

Anforderungen

Mindestens unterstützter Client

Windows 8

Mindestens unterstützter Server

Windows Server 2012

Namespace

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

Metadaten

Windows.winmd

Siehe auch

Kontaktmanager-API-Beispiel
Kontakt-Auswahl-App - Beispiel
Beispiel für die Behandlung von Kontaktaktionen
Windows.ApplicationModel.Contacts.Provider

 

 

Anzeigen:
© 2014 Microsoft. Alle Rechte vorbehalten.