Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContactQueryOptions.DesiredFields property

Gets or sets the list of properties that should be returned with each contact.

Syntax


public IList<string> DesiredFields { get; }

Property value

Type: IVector<String> [C++] | System.Collections.Generic.IList<String> [.NET]

The list of properties that should be returned with each contact.

Remarks

The default set of fields are those that are properties of the StoredContact class. Additional field names should be specified using one of the properties of KnownContactProperties class.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

ContactQueryOptions

 

 

Show: