Description
Sets or returns an array of columns names specifying the columns to import. If the length of the specified array is greater than MaxColumns, or exceeds the size of the target area, the columns will be added in the order in which they appear in the array.C#
public System.String[] ColumnNameFilter{ get; set; }vb.net
Public Property ColumnNameFilter() As String()
Examples
C#
//--- Return ColumnNameFilter
String[] colNames = importProps.ColumnNameFilter;
//--- Set ColumnNameFilter
importProps.ColumnNameFilter = new String[]{"Name", "Address", "Zip"};
vb.net
'--- Return ColumnNameFilter
Dim colNames As String() = importProps.ColumnNameFilter
'--- Set ColumnNameFilter
importProps.ColumnNameFilter = New String() {"Name", "Address", "Zip"}
