Edit

Share via


AppEvents_WorkbookBeforeXmlExportEventHandler Delegate

Definition

A Delegate type used to add an event handler for the WorkbookBeforeXmlExport event. The WorkbookBeforeXmlExport event occurs before Microsoft Excel saves or exports data from any open workbook to an XML data file.

public delegate void AppEvents_WorkbookBeforeXmlExportEventHandler(Workbook ^ Wb, XmlMap ^ Map, System::String ^ Url, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void AppEvents_WorkbookBeforeXmlExportEventHandler(Workbook Wb, XmlMap Map, string Url, out bool Cancel);
Public Delegate Sub AppEvents_WorkbookBeforeXmlExportEventHandler(Wb As Workbook, Map As XmlMap, Url As String, ByRef Cancel As Boolean)

Parameters

Wb
Workbook

Required Workbook. The target workbook.

Map
XmlMap

Required XmlMap. The XML map that will be used to save or export data.

Url
String

Required String. The location of the XML file to be exported.

Cancel
Boolean

Required Boolean. Set to True to cancel the save or export operation.

Attributes

Applies to