Edytuj

Udostępnij za pośrednictwem


XmlMap.Export(String, Object) Method

Definition

Exports the contents of cells mapped to the specified XmlMap object to an XML data file. Returns XlXmlExportResult.

public Microsoft.Office.Interop.Excel.XlXmlExportResult Export (string Url, object Overwrite);
Public Function Export (Url As String, Optional Overwrite As Object) As XlXmlExportResult

Parameters

Url
String

Required String. The path and filename of the XML data file to export to.

Overwrite
Object

Required Boolean. Set to True to overwrite the file specified in the URL parameter if the file exists. The default value if False.

Returns

Remarks

Use the ExportXml(String) method to export the contents of the mapped cells to a String variable.

Applies to