PhoneCallTask.PhoneNumber Property

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

Gets or sets the phone number that is dialed when the Phone application is launched.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property PhoneNumber As String
public string PhoneNumber { get; set; }
<object PhoneNumber="string" .../>

Property Value

Type: System..::.String
Type: String. The phone number that is dialed when the Phone application is launched.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

PhoneCallTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the phone call task for Windows Phone 8