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

获取或设置用于对联系人查询结果进行排序的字段。

适用于