Поделиться через


EApplication_PresentationBeforeCloseEventHandler Delegate

A delegate for an event in the corresponding object. After you implement a callback method for the event, use this delegate to connect the callback method to the event.

Represents a Presentation object before it closes.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub EApplication_PresentationBeforeCloseEventHandler ( _
    Pres As Presentation, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New EApplication_PresentationBeforeCloseEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void EApplication_PresentationBeforeCloseEventHandler(
    Presentation Pres,
    out bool Cancel
)

Parameters

  • Cancel
    Type: System.Boolean
    If set to true, the presentation will not close.

See Also

Reference

Microsoft.Office.Interop.PowerPoint Namespace

PresentationBeforeClose