ApplicationEvents4_DocumentBeforeCloseEventHandler 代理人

定義

イベントのイベント ハンドラーDocumentBeforeCloseを追加するために使用されるデリゲート型。 DocumentBeforeClose イベントは、開いているドキュメントが閉じる直前に発生します。

public delegate void ApplicationEvents4_DocumentBeforeCloseEventHandler(Document ^ Doc, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ApplicationEvents4_DocumentBeforeCloseEventHandler(Document Doc, out bool Cancel);
type ApplicationEvents4_DocumentBeforeCloseEventHandler = delegate of Document * bool -> unit
Public Delegate Sub ApplicationEvents4_DocumentBeforeCloseEventHandler(Doc As Document, ByRef Cancel As Boolean)

パラメーター

Doc
Document

閉じられる文書です。

Cancel
Boolean

False イベントが発生します。 イベント プロシージャでこの引数に True を設定する場合、プロシージャが終了すると、文書は閉じられません。

属性

適用対象