This documentation is archived and is not being maintained.

EApplication_PresentationBeforeCloseEventHandler Delegate

Office 2010

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)

public delegate void EApplication_PresentationBeforeCloseEventHandler(
	Presentation Pres,
	out bool Cancel


Type: Microsoft.Office.Interop.PowerPoint.Presentation
The Presentation object.
Type: System.Boolean
If set to true, the presentation will not close.