Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Imports the data from a rectangular array into a Table at the point of the current element in the document. Also accepts an array of column names and a DataImportProperties object with the import options.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Imports the data from a rectangular array into a [Table|Table] at the point of the current element in the document. Also accepts an array of column names and a [DataImportProperties|DataImportProperties] object with the import options.{excerpt}
{signature:C#}
 public Table ImportData(System.Object[,] data, System.String[] columnNames, DataImportProperties props)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function ImportData(ByVal data As Object(,), ByVal columnNames As String(), ByVal props As DataImportProperties) As Table
Parameters

...

The rectangular array to import the data from.

...

Array of column names, corresponding to columns of data in the rectangular array.

...

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

Returns

The Table that the data was imported into.

{signature}
{parameters}
{param:data}The rectangular array to import the data from.{param}
{param:columnNames}Array of column names, corresponding to columns of data in the rectangular array.{param}
{param:props}Import properties for this data import, including max rows, max columns, column filter, etc.{param}
{returns}The {{Table}} that the data was imported into.{returns}
{example}{code:csharp|title=C#}
Table tbl = e.ImportData(rectArray, colArray, importProps);
{code}
{code:vb.net
|title=vb.net
}
Dim tbl As Table = e.ImportData(rectArray, colArray, importProps){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle