Share via


DWebBrowserEvents2.FileDownload Method

Fires to indicate that a file download is about to occur. If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.

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

instance.FileDownload(ActiveDocument, Cancel)

Syntax

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

Parameters

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