共用方式為


EApplication_ProtectedViewWindowBeforeEditEventHandler Delegate

A delegate for an event in the corresponding object. After you implement a callback method for the event, use this delegate to connect the callback method to the event.

Occurs immediately before editing is enabled on the document in the specified protected view window.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub EApplication_ProtectedViewWindowBeforeEditEventHandler ( _
    ProtViewWindow As ProtectedViewWindow, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New EApplication_ProtectedViewWindowBeforeEditEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void EApplication_ProtectedViewWindowBeforeEditEventHandler(
    ProtectedViewWindow ProtViewWindow,
    out bool Cancel
)

Parameters

  • Cancel
    Type: System.Boolean
    false when the event occurs. If the event procedure sets this argument to true, editing is not enabled on the document.

See Also

Reference

Microsoft.Office.Interop.PowerPoint Namespace

ProtectedViewWindowBeforeEdit