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)
Syntax
Public Enumeration PhoneNumberKind
public enum PhoneNumberKind
<object property="enumerationValue" .../>
Members
Member name | Description | |
---|---|---|
Mobile | A mobile phone number. | |
Home | A home phone number. | |
Work | A work phone number. | |
Company | A company phone number. | |
Pager | A pager phone number. | |
HomeFax | A home fax number. | |
WorkFax | A work fax number. |
Remarks
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone
See Also
Reference
Microsoft.Phone.UserData Namespace