Windows.ApplicationModel.Contacts Namespace

アプリが連絡先に関する情報を選択および取得できるようにします。

メモ  この名前空間に Windows 8.1 で追加された新しい API は、Windows 8.1 より後のリリースで使用できなくなる可能性のある API と共に使用しないでください。アプリでこれらの API を混在させると、失敗します。

メンバー

Windows.ApplicationModel.Contacts名前空間 には次の種類のメンバーがあります。

クラス

Windows.ApplicationModel.Contacts名前空間 にはこれらのクラスがあります。

クラス説明
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.

 

列挙型

Windows.ApplicationModel.Contacts名前空間 には以下の列挙体があります。

列挙型説明
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.

 

インターフェイス

Windows.ApplicationModel.Contacts名前空間 はこれらのインターフェイスを定義します。

インターフェイス説明
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.

 

要件

最小限サポートされるクライアント

Windows 8

最小限サポートされるサーバー

Windows Server 2012

名前空間

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

メタデータ

Windows.winmd

参照

Contact manager API サンプル
連絡先ピッカー アプリのサンプル
連絡先操作に対する処理のサンプル
Windows.ApplicationModel.Contacts.Provider

 

 

表示:
© 2014 Microsoft