Share via


DWebBrowserEvents2.BeforeNavigate2 Method

Definition

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

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

Parameters

pDisp
Object
URL
Object
Flags
Object
TargetFrameName
Object
PostData
Object
Headers
Object
Cancel
Boolean

Applies to