ContactStore クラス

定義

Windows Phone アプリのカスタム連絡先ストアを表します。

public ref class ContactStore sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactStore final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactStore
Public NotInheritable Class ContactStore
継承
Object Platform::Object IInspectable ContactStore
属性

Windows の要件

デバイス ファミリ
Windows Mobile Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Phone.PhoneContract (v1.0 で導入)
アプリの機能
ID_CAP_CONTACTS [Windows Phone]

プロパティ

RevisionNumber

連絡先ストアのリビジョン番号を取得します。

メソッド

CreateContactQuery()

既定のオプションを使用して連絡先クエリを作成します。

CreateContactQuery(ContactQueryOptions)

カスタム オプションを使用して連絡先クエリを作成します。

CreateMeContactAsync(String)

指定した連絡先が、デバイスの現在サインインしているユーザーを表していることを確立します。

CreateOrOpenAsync()

アプリのカスタム連絡先ストアを開き、既定のオプションが存在しない場合はストアを作成します。

CreateOrOpenAsync(ContactStoreSystemAccessMode, ContactStoreApplicationAccessMode)

アプリのカスタム連絡先ストアを開き、指定したオプションが存在しない場合はストアを作成します。

DeleteAsync()

アプリのカスタム連絡先ストアを削除します。

DeleteContactAsync(String)

指定した ID の連絡先を連絡先ストアから削除します。

FindContactByIdAsync(String)

指定した ID を持つ連絡先を連絡先ストアから取得します。

FindContactByRemoteIdAsync(String)

指定したリモート ID を持つ連絡先を連絡先ストアから取得します。

GetChangesAsync(UInt64)

指定されたリビジョン番号に関連付けられている連絡先ストアへの変更の一覧を取得します。

LoadExtendedPropertiesAsync()

アプリのカスタム連絡先ストアの拡張プロパティを読み込みます。

SaveExtendedPropertiesAsync(IMapView<String,Object>)

指定された名前と値のペアのリストをカスタム連絡先ストアの拡張プロパティに保存します。

適用対象

こちらもご覧ください