Skip to content

WebView2NavigationStarting Event

See Also

WebBrowser Control


Syntax

Public Event WebView2NavigationStarting( _
    ByVal [Uri](#) As String, _
    ByVal [IsUserInitiated](#) As Boolean, _
    ByVal [IsRedirected](#) As Boolean, _
    ByVal [NavigationId](#) As Variant, _
    ByRef [Cancel](#) As Boolean _
)

Parameters

  • Uri: The URI of the navigation.
  • IsUserInitiated: Indicates whether the navigation was initiated by the user.
  • IsRedirected: Indicates whether the navigation is a redirect.
  • NavigationId: A unique identifier for the navigation.
  • Cancel: A reference to a Boolean that can be set to true to cancel the navigation.

See Also

WebBrowser Control


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.