Delegato _ApplicationEvents_XDocumentBeforeSaveEventHandler
Questo delegato è riservato a utilizzi interni e non deve essere utilizzato direttamente dal codice.
Spazio dei nomi: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Sintassi
<ComVisibleAttribute(False)> _
<TypeLibTypeAttribute(16)> _
Public Delegate Sub _ApplicationEvents_XDocumentBeforeSaveEventHandler ( _
<InAttribute> pDocument As _XDocument, _
<InAttribute> <OutAttribute> ByRef pfCancel As Boolean _
)
Dim instance As New _ApplicationEvents_XDocumentBeforeSaveEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
[TypeLibTypeAttribute(16)]
public delegate void _ApplicationEvents_XDocumentBeforeSaveEventHandler (
[InAttribute] _XDocument pDocument,
[InAttribute] out bool pfCancel
)
Parametri
- pDocument
- pfCancel