ApplicationEvents2.DocumentBeforeClose(Document, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
void DocumentBeforeClose(Microsoft::Office::Interop::Word::Document ^ Doc, bool % Cancel);
public void DocumentBeforeClose (Microsoft.Office.Interop.Word.Document Doc, ref bool Cancel);
abstract member DocumentBeforeClose : Microsoft.Office.Interop.Word.Document * bool -> unit
Public Sub DocumentBeforeClose (Doc As Document, ByRef Cancel As Boolean)
Parameters
- Doc
- Document
- Cancel
- Boolean