共用方式為


EApplication_PresentationBeforeSaveEventHandler 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.

Occurs before a presentation is saved.

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

Syntax

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

Parameters

Remarks

This event is triggered as the Save As dialog box appears.

See Also

Reference

Microsoft.Office.Interop.PowerPoint Namespace

PresentationBeforeSave