XmlMap.ExportXml Method

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function ExportXml ( _
    <OutAttribute> ByRef Data As String _
) As XlXmlExportResult
'Usage
Dim instance As XmlMap
Dim Data As String
Dim returnValue As XlXmlExportResult

returnValue = instance.ExportXml(Data)
XlXmlExportResult ExportXml(
    out string Data
)

Parameters

  • Data
    Type: System.String

    Required String. The variable to export the data to.

Return Value

Type: Microsoft.Office.Interop.Excel.XlXmlExportResult

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 method.

See Also

Reference

XmlMap Interface

XmlMap Members

Microsoft.Office.Interop.Excel Namespace