PhoneNumberKind Enumeration

PhoneNumberKind Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies information about a phone number.

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

No code example is currently available or this language may not be supported.
<object property="enumerationValue" .../>

Member nameDescription
MobileA mobile phone number.
HomeA home phone number.
WorkA work phone number.
CompanyA company phone number.
PagerA pager phone number.
HomeFaxA home fax number.
WorkFaxA work fax number.

The PhoneNumberKind type is used to specify information about a ContactPhoneNumber belonging to a Contact. The default value is Mobile.

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:
© 2017 Microsoft