Skip to end of metadata
Go to start of metadata

Description

Imports a set of data from an array of column names and a 2-dimensional array of data to a Table created at the point of the current element in the document. Also accepts a DataImportProperties object defining any options for this data import.

C#
 public virtual Table ImportData(System.Object[][] data, System.String[] columnNames, DataImportProperties properties)
vb.net
Public Overridable Function ImportData(ByVal data As Object()(), ByVal columnNames As String(), ByVal properties As DataImportProperties) As Table

Parameters

data
A 2-dimensional array from which to import the data from.
columnNames
An array of column names to import.
properties
Import properties for this data import, including max rows, max columns, column filter, etc.

Returns

The Table that the data was imported into.

Examples

C#
Table tbl = e.ImportData(dataArray, colArray, oDataImportProperties);
vb.net
Dim tbl As Table = e.ImportData(dataArray, colArray, oDataImportProperties)
  • No labels