Compartilhar via


XmlMap Interface

Represents an XML map that has been added to a workbook.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("0002447B-0000-0000-C000-000000000046")> _
Public Interface XmlMap
'Usage
Dim instance As XmlMap
[InterfaceTypeAttribute()]
[GuidAttribute("0002447B-0000-0000-C000-000000000046")]
public interface XmlMap

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.

Use the Add method of the XmlMaps collection to add an XML map to a workbook.

Importing and exporting XML data

Use the Import method to import XML data from an XML data file into cells mapped to the specified XmlMap. The ImportXml method imports XML data for a String variable.

Use the Export method to export data from cells mapped to the specified XmlMap. The ExportXml method exports XML data to a String variable.

See Also

Reference

XmlMap Members

Microsoft.Office.Interop.Excel Namespace