Udostępnij za pośrednictwem


DWebBrowserEvents2.BeforeNavigate2 Method

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

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

Usage

'Usage
Dim instance As DWebBrowserEvents2
Dim pDisp As Object
Dim URL As Object
Dim Flags As Object
Dim TargetFrameName As Object
Dim PostData As Object
Dim Headers As Object
Dim Cancel As Boolean

instance.BeforeNavigate2(pDisp, URL, Flags, TargetFrameName, PostData, Headers, Cancel)

Syntax

'Declaration
<DispIdAttribute(250)> _
Sub BeforeNavigate2 ( _
    <InAttribute> pDisp As Object, _
    <InAttribute> ByRef URL As Object, _
    <InAttribute> ByRef Flags As Object, _
    <InAttribute> ByRef TargetFrameName As Object, _
    <InAttribute> ByRef PostData As Object, _
    <InAttribute> ByRef Headers As Object, _
    <InAttribute> <OutAttribute> ByRef Cancel As Boolean _
)
[DispIdAttribute(250)] 
void BeforeNavigate2 (
    [InAttribute] Object pDisp,
    [InAttribute] ref Object URL,
    [InAttribute] ref Object Flags,
    [InAttribute] ref Object TargetFrameName,
    [InAttribute] ref Object PostData,
    [InAttribute] ref Object Headers,
    [InAttribute] out bool Cancel
)
[DispIdAttribute(250)] 
void BeforeNavigate2 (
    [InAttribute] Object^ pDisp, 
    [InAttribute] Object^% URL, 
    [InAttribute] Object^% Flags, 
    [InAttribute] Object^% TargetFrameName, 
    [InAttribute] Object^% PostData, 
    [InAttribute] Object^% Headers, 
    [InAttribute] [OutAttribute] bool% Cancel
)
/** @attribute DispIdAttribute(250) */ 
void BeforeNavigate2 (
    /** @attribute InAttribute() */ Object pDisp, 
    /** @attribute InAttribute() */ /** @ref */ Object URL, 
    /** @attribute InAttribute() */ /** @ref */ Object Flags, 
    /** @attribute InAttribute() */ /** @ref */ Object TargetFrameName, 
    /** @attribute InAttribute() */ /** @ref */ Object PostData, 
    /** @attribute InAttribute() */ /** @ref */ Object Headers, 
    /** @attribute InAttribute() */ /** @attribute OutAttribute() */ /** @ref */ boolean Cancel
)

Parameters

  • pDisp
  • URL
  • Flags
  • TargetFrameName
  • PostData
  • Headers
  • Cancel

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

DWebBrowserEvents2 Interface
DWebBrowserEvents2 Members
Microsoft.Uii.Csr.Browser.Web Namespace

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