IApplicationEvents2.DocumentBeforeClose(Document, Boolean) 方法

定义

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)

参数

Doc
Document
Cancel
Boolean

适用于