_ApplicationEvents_XDocumentBeforeSaveEventHandler 委派
此委派僅限內部使用,不得從您的程式碼內直接使用。
**命名空間:**Microsoft.Office.Interop.InfoPath
**組件:**Microsoft.Office.Interop.InfoPath (於 microsoft.office.interop.infopath.dll 中)
語法
'宣告
<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
)
參數
- pDocument
- pfCancel