ContactQueryDesiredFields
ContactQueryDesiredFields
ContactQueryDesiredFields
ContactQueryDesiredFields
Enum
Definition
Defines which fields must exist on a contact in order to match a search operation.
This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
public : enum class ContactQueryDesiredFieldspublic enum ContactQueryDesiredFieldsPublic Enum ContactQueryDesiredFields// You can use this enum in JavaScript.
- Attributes
-
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| EmailAddress EmailAddress EmailAddress EmailAddress | The contact must have an email address. |
| None None None None | No required fields |
| PhoneNumber PhoneNumber PhoneNumber PhoneNumber | The contact must have a phone number. |
| PostalAddress PostalAddress PostalAddress PostalAddress | The contact must have a postal address. |
Remarks
Use the OR operator to combine these values together into a single bit field.