Dela via


ContactFieldType Enum

Definition

Defines the type of contact data.

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

The contact's email address. Supported on Windows Phone.

PhoneNumber 1

The contact's phone number. Supported on Windows Phone.

Location 2

The contact's location.

InstantMessage 3

The contact's instant message user name.

Custom 4

A custom value.

ConnectedServiceAccount 5

The contact's connected service account.

ImportantDate 6

The contact's important dates.

Address 7

The contact's address. Supported on Windows Phone.

SignificantOther 8

The contact's significant other.

Notes 9

The contact's notes.

Website 10

The contact's Web site.

JobInfo 11

The contact's job info.

Remarks

Only the PhoneNumber, Email, and Address values are supported on Windows Phone.

Applies to