WebBrowser::Navigate Method (String^, String^, array<Byte>^, String^)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

void Navigate(
	String^ source,
	String^ targetFrameName,
	array<unsigned char>^ postData,
	String^ additionalHeaders


Type: System::String^

The URL to navigate to.

Type: System::String^

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

Type: array<System::Byte>^

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

Type: System::String^

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

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

.NET Framework
Available since 4.0
Return to top