Compartir a través de


DWebBrowserEvents2.WindowClosing Method

Fires when the window of the object is about to be closed by script.

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 IsChildWindow As Boolean
Dim Cancel As Boolean

instance.WindowClosing(IsChildWindow, Cancel)

Syntax

'Declaration
<DispIdAttribute(263)> _
Sub WindowClosing ( _
    <InAttribute> IsChildWindow As Boolean, _
    <InAttribute> <OutAttribute> ByRef Cancel As Boolean _
)
[DispIdAttribute(263)] 
void WindowClosing (
    [InAttribute] bool IsChildWindow,
    [InAttribute] out bool Cancel
)
[DispIdAttribute(263)] 
void WindowClosing (
    [InAttribute] bool IsChildWindow, 
    [InAttribute] [OutAttribute] bool% Cancel
)
/** @attribute DispIdAttribute(263) */ 
void WindowClosing (
    /** @attribute InAttribute() */ boolean IsChildWindow, 
    /** @attribute InAttribute() */ /** @attribute OutAttribute() */ /** @ref */ boolean Cancel
)

Parameters

  • IsChildWindow
  • 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.