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.

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

A 2-dimensional array from which to import the data from.

An array of column names to import.

Import properties for this data import, including max rows, max columns, column filter, etc.

The Table that the data was imported into.

Table tbl = e.ImportData(dataArray, colArray, oDataImportProperties);
Dim tbl As Table = e.ImportData(dataArray, colArray, oDataImportProperties)