Compartir a través de


WebBrowserExtended.Navigate Method (String, String, Byte[], String)

Loads the document at the specified Uniform Resource Locator (URL) into the WebBrowser control, requesting it using the specified HTTP data and replacing the contents of the Web page frame with the specified name. This overload starts the browser when necessary. When browser has not been started, that is when WebBrowserExtendedState != BrowserAcquired, all parameters except urlString are disregarded.

Namespace: Microsoft.Uii.Csr.Browser.Web
Assembly: Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)

Usage

'Usage
Dim instance As WebBrowserExtended
Dim urlString As String
Dim targetFrameName As String
Dim postData As Byte()
Dim additionalHeaders As String

instance.Navigate(urlString, targetFrameName, postData, additionalHeaders)

Syntax

'Declaration
Public Sub Navigate ( _
    urlString As String, _
    targetFrameName As String, _
    postData As Byte(), _
    additionalHeaders As String _
)
public void Navigate (
    string urlString,
    string targetFrameName,
    byte[] postData,
    string additionalHeaders
)
public:
void Navigate (
    String^ urlString, 
    String^ targetFrameName, 
    array<unsigned char>^ postData, 
    String^ additionalHeaders
)
public void Navigate (
    String urlString, 
    String targetFrameName, 
    byte[] postData, 
    String additionalHeaders
)
public function Navigate (
    urlString : String, 
    targetFrameName : String, 
    postData : byte[], 
    additionalHeaders : String
)

Parameters

  • urlString
    The URL of the document to load.
  • targetFrameName
    The name of the frame in which to load the document.
  • postData
    HTTP POST data such as form data.
  • additionalHeaders
    HTTP headers to add to the default headers.

Exceptions

Exception type Condition
ObjectDisposedException

This control is no longer valid.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

WebBrowserExtended Class
WebBrowserExtended Members
Microsoft.Uii.Csr.Browser.Web Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.