Windows.Phone.PersonalInformation 命名空間

提供用來管理自訂連絡人存放區的 API。

類別

ContactAddress

代表 StoredContact 物件的公民位址。

ContactChangeRecord

表示修訂之間發生的連絡資訊變更。

ContactInformation

代表沒有與連絡人存放區關聯的連絡人。

ContactQueryOptions

表示使用 CreateContactQuery擷取連絡人的查詢選項。

ContactQueryResult

表示連絡人查詢的結果。

ContactStore

代表Windows Phone應用程式的自訂連絡人存放區。

KnownContactProperties

提供索引鍵名稱來存取 StoredContactContactInformation 物件的已知屬性。

StoredContact

表示與自訂連絡人存放區相關聯的連絡人。

介面

IContactInformation

定義連絡人資訊的介面。

IContactInformation2

提供其他連絡人屬性。

列舉

ContactChangeType

指出 ContactChangeRecord所代表的變更類型。

ContactQueryResultOrdering

指定從 CreateContactQuery 呼叫傳回連絡人的順序。

ContactStoreApplicationAccessMode

指定使用 CreateOrOpenAsync所建立之自訂連絡人存放區的應用程式存取模式。

ContactStoreSystemAccessMode

指定使用 CreateOrOpenAsync所建立之自訂連絡人存放區的系統存取模式。

VCardFormat

vCard 的格式。

備註

此命名空間中的 API 通常用於適用于 Windows Phone 的 Microsoft Silverlight 應用程式。 在大部分案例中,Windows 執行階段應用程式可用於Windows Phone的類似 API,而且如果您使用這些 API,您可以將大部分程式碼套用至通用應用程式。 請參閱:

注意

在某些情況下,即使撰寫Windows 執行階段應用程式,您也需要 Windows.Phone.PersonalInformation API。 例如,請參閱 連絡人選擇器應用程式範例。 針對Windows Phone,此範例會使用 Windows.Phone.PersonalInformation API 預先填入連絡人存放區以供示範之用。

另請參閱