ApplicationEvents2_DocumentBeforeCloseEventHandler Delegate
Office 2003
See the description for this event handler in the latest version of the event interface.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
public delegate void ApplicationEvents2_DocumentBeforeCloseEventHandler( [In] Document Doc, [In] ref bool Cancel );
public delegate void ApplicationEvents2_DocumentBeforeCloseEventHandler( /*in*/Document Doc, /*in*/boolean Cancel );
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Doc
See the description for this event handler parameter in the latest version of the event interface.
- Cancel
See the description for this event handler parameter in the latest version of the event interface.