ArcObjects Library Reference (ArcMapUI)  

IDocumentEvents.BeforeCloseDocument Event

Fired before a document is closed. Return True to abort the close process.

[Visual Basic 6.0]
Function BeforeCloseDocument As Boolean
[Visual Basic .NET]
Public Event BeforeCloseDocument As BeforeCloseDocumentEventHandler
[C#]
public event BeforeCloseDocumentEventHandler BeforeCloseDocument

Product Availability

Available with ArcGIS Desktop.

See Also

IDocumentEvents Interface