共用方式為


ContactQueryOptions 類別

定義

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

public ref class ContactQueryOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Phone.PhoneContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContactQueryOptions final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Phone.PhoneContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContactQueryOptions
function ContactQueryOptions()
Public NotInheritable Class ContactQueryOptions
繼承
Object Platform::Object IInspectable ContactQueryOptions
屬性

Windows 需求

裝置系列
Windows Mobile Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Phone.PhoneContract (已於 v1.0 引進)
應用程式功能
ID_CAP_CONTACTS [Windows Phone]

建構函式

ContactQueryOptions()

初始化 ContactQueryOptions 類別的新實例。

屬性

DesiredFields

取得或設定應該與每個連絡人一起傳回的屬性清單。

OrderBy

取得或設定用來排序連絡人查詢結果的欄位。

適用於