ToString Method
Collapse the table of content
Expand the table of content

ContactPhoneNumber.ToString Method

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

Returns a string that represents the current phone number.

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

'Declaration
Public Overrides Function ToString As String

Return Value

Type: System.String
A string that represents the current phone number.

This ToString method concatenates the PhoneNumber property and the Kind property, and formats the result using the current culture.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft