ContactQueryOptions.DesiredFields Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the desired fields a contact must have to match the query.
public:
property ContactQueryDesiredFields DesiredFields { ContactQueryDesiredFields get(); void set(ContactQueryDesiredFields value); };
ContactQueryDesiredFields DesiredFields();
void DesiredFields(ContactQueryDesiredFields value);
public ContactQueryDesiredFields DesiredFields { get; set; }
var contactQueryDesiredFields = contactQueryOptions.desiredFields;
contactQueryOptions.desiredFields = contactQueryDesiredFields;
Public Property DesiredFields As ContactQueryDesiredFields
Property Value
The desired fields a contact must have to match the query.
Windows requirements
App capabilities |
contactsSystem
|
Remarks
You can specify multiple fields by using the OR operator to combine values from the ContactQueryDesiredFields enum. The query results will return contacts that contain one or more of the desired fields.