WebBrowserTask.URL Property

Note: This API is now obsolete.

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:
© 2015 Microsoft