XmlMap.ExportXml(String) Method

Definition

Exports the contents of cells mapped to the specified XmlMap object to a String variable. Returns XlXmlExportResult.

public:
 Microsoft::Office::Interop::Excel::XlXmlExportResult ExportXml([Runtime::InteropServices::Out] System::String ^ % Data);
public Microsoft.Office.Interop.Excel.XlXmlExportResult ExportXml (out string Data);
Public Function ExportXml (ByRef Data As String) As XlXmlExportResult

Parameters

Data
String

Required String. The variable to export the data to.

Returns

Remarks

XML features, except for saving files in the XML Spreadsheet format, are available only in Microsoft Office Professional Edition 2003 and Microsoft Office Excel 2003.

To export the contents of the mapped cells to an XML data file, use the Export(String, Object) method.

Applies to