ApplicationEvents4.ProtectedViewWindowBeforeClose 方法

定义

public:
 void ProtectedViewWindowBeforeClose(Microsoft::Office::Interop::Word::ProtectedViewWindow ^ PvWindow, int CloseReason, [Runtime::InteropServices::Out] bool % Cancel);
public void ProtectedViewWindowBeforeClose (Microsoft.Office.Interop.Word.ProtectedViewWindow PvWindow, int CloseReason, out bool Cancel);
abstract member ProtectedViewWindowBeforeClose : Microsoft.Office.Interop.Word.ProtectedViewWindow * int * bool -> unit
Public Sub ProtectedViewWindowBeforeClose (PvWindow As ProtectedViewWindow, CloseReason As Integer, ByRef Cancel As Boolean)

参数

CloseReason
Int32
Cancel
Boolean

适用于