Partager via


WorkbookEvents_RowsetCompleteEventHandler Delegate

A Delegate type used to add an event handler for the RowsetComplete event. The RowsetComplete event occurs when the user either drills through the recordset or invokes the rowset action on an OLAP PivotTable.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub WorkbookEvents_RowsetCompleteEventHandler ( _
    Description As String, _
    Sheet As String, _
    Success As Boolean _
)
'Usage
Dim instance As New WorkbookEvents_RowsetCompleteEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_RowsetCompleteEventHandler(
    string Description,
    string Sheet,
    bool Success
)

Parameters

  • Description
    Type: System.String

    A brief description of the event.

  • Sheet
    Type: System.String

    Worksheet on which the recordset is created.

  • Success
    Type: System.Boolean

    Contains a Boolean value to indicate success or failure.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace