Udostępnij za pośrednictwem


ContactFieldCategory Enum

Definition

Defines the categories that contact data can belong to.

Note

ContactFieldCategory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhoneKind, ContactEmailKind, and ContactAddressKind.

public enum class ContactFieldCategory
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ContactFieldCategory
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ContactFieldCategory
var value = Windows.ApplicationModel.Contacts.ContactFieldCategory.none
Public Enum ContactFieldCategory
Inheritance
ContactFieldCategory
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

The data doesn't belong to a category

Home 1

The Home category.

Work 2

The Work category.

Mobile 3

The Mobile category.

Other 4

The Other category.

Applies to