Represents the method that handles the BeforeCloseDocument event.
[Visual Basic .NET] Public Delegate Function BeforeCloseDocumentEventHandler ( _ ) As Boolean
[C#] public delegate bool BeforeCloseDocumentEventHandler ( );