Modifica

Condividi tramite


XmlMap.Import(String, Object) Method

Definition

Imports data from the specified XML data file into cells that have been mapped to the specified XmlMap object. Returns XlXmlImportResult.

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

Parameters

Url
String

Required String. The path to the XML data to import. The path can be specified in Universal Naming convention (UNC) or Uniform Resource Locator (URL) format. The file can be an XML data file or a valid Office XML data Source Connection (.uxdc) file.

Overwrite
Object

Optional Object. Set to True to overwrite existing data. Set to False to append to existing data. The default value is False.

Returns

Applies to