Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebBrowser.Navigate Method (String, String, Byte(), String)

.NET Framework 4.6 and 4.5

Navigates asynchronously to the document at the specified URL and specify the target frame to load the document's content into. Additional HTTP POST data and HTTP headers can be sent to the server as part of the navigation request.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

'Declaration
Public Sub Navigate ( _
	source As String, _
	targetFrameName As String, _
	postData As Byte(), _
	additionalHeaders As String _
)

Parameters

source
Type: System.String

The URL to navigate to.

targetFrameName
Type: System.String

The name of the frame to display the document's content in.

postData
Type: System.Byte()

HTTP POST data to send to the server when the source is requested.

additionalHeaders
Type: System.String

HTTP headers to send to the server when the source is requested.

Use the Navigate(String, String, Byte(), String) method to navigate to a URL that may include escape characters. Use the Navigate(Uri, String, Byte(), String) method to navigate to a Uri that does not include escape characters.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft