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)

Syntax

Public Overrides Function ToString As String
public override string ToString()

Return Value

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

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

ContactPhoneNumber Class

Microsoft.Phone.UserData Namespace