DWebBrowserEvents.BeforeNavigate Method

Definition

Fires before navigation occurs in the given object (on either a window element or a frameset element).

public:
 void BeforeNavigate(System::String ^ URL, int Flags, System::String ^ TargetFrameName, System::Object ^ % PostData, System::String ^ Headers, [Runtime::InteropServices::Out] bool % Cancel);
public void BeforeNavigate (string URL, int Flags, string TargetFrameName, ref object PostData, string Headers, out bool Cancel);
abstract member BeforeNavigate : string * int * string * obj * string * bool -> unit
Public Sub BeforeNavigate (URL As String, Flags As Integer, TargetFrameName As String, ByRef PostData As Object, Headers As String, ByRef Cancel As Boolean)

Parameters

URL
String

Specifies the URL to navigate to.

Flags
Int32

Specifies the flags.

TargetFrameName
String

Specifies the target frame name.

PostData
Object

Specifies the post data.

Headers
String

Specifies the headers.

Cancel
Boolean

Specifies whether the navigation is cancelled or not.

Applies to