Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebBrowserTask.URL Property

Note: This API is now obsolete.

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

Gets or sets the URL to which the web browser application will navigate when it is launched.

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

[ObsoleteAttribute("Please use Uri property")]
public string URL { get; set; }
<object URL="string" .../>

Property Value

Type: System.String
Type: String. The URL to which the web browser application will navigate when it is launched.

The URL property is deprecated. Use the Uri property instead. If the URI property has already been set, setting this property will throw an InvalidOperationException.

Windows Phone OS

Supported in: 7.0
Obsolete (compiler warning) in 8.1
Obsolete (compiler warning) in 8.0
Obsolete (compiler warning) in 7.1

Windows Phone

Show: