FilterKind Enumeration

July 28, 2014

Specifies the kind of filter to use when searching for contacts.

Namespace:  Microsoft.Phone.UserData
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public enum FilterKind
<object property="enumerationValue" .../>

Member nameDescription
NoneA filter that returns all contacts.
PinnedToStartA filter that returns all contacts that are pinned to the Start screen.
EmailAddressA filter that returns contacts by email address.
PhoneNumberA filter that returns contacts by phone number.
DisplayNameA filter that returns contacts by display name.
IdentifierA filter that returns contacts by local identifier.

The FilterKind type is used to specify the kind of filter to use when searching for contacts by using the SearchAsync method. The default value is None. For more information about how the filter is used to match contacts, see Contact filtering and matching for Windows Phone 8.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_CONTACTS

Windows Phone 8

ID_CAP_APPOINTMENTS

Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft