ApplicationEvents4_ProtectedViewWindowBeforeEditEventHandler Délégué

Définition

Type délégué utilisé pour ajouter un gestionnaire d’événements pour l' ProtectedViewWindowBeforeEdit événement. L’événement ProtectedViewWindowBeforeEdit se produit immédiatement avant que la modification soit activée sur le document dans la fenêtre en mode protégé spécifiée.

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

Paramètres

PvWindow
ProtectedViewWindow

Fenêtre en mode protégé qui contient le document activé pour modification.

Cancel
Boolean

false lorsque l’événement se produit. Si la procédure événementielle affecte la valeur trueà cet argument, la modification n’est pas activée dans le document.

Attributs

S’applique à