Udostępnij za pośrednictwem


ContactQuerySearchFields Enum

Definition

Defines which contact fields to search for a text match.

This enumeration supports a bitwise combination of its member values.

public enum class ContactQuerySearchFields
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ContactQuerySearchFields
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ContactQuerySearchFields
var value = Windows.ApplicationModel.Contacts.ContactQuerySearchFields.none
Public Enum ContactQuerySearchFields
Inheritance
ContactQuerySearchFields
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
contactsSystem

Fields

Name Value Description
None 0

None

Name 1

Name

Email 2

Email address

Phone 4

Phone number

All 4294967295

All

Remarks

Use the OR operator to combine these values together into a single bit field.

Applies to