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.

public System.String[] ColumnNameFilter{ get; set; }
Public Property ColumnNameFilter() As String()
 
          //--- Return ColumnNameFilter
          String[] colNames = importProps.ColumnNameFilter;

          //--- Set ColumnNameFilter
          importProps.ColumnNameFilter = new String[]{"Name", "Address", "Zip"};
        
          '--- Return ColumnNameFilter
          Dim colNames As String() = importProps.ColumnNameFilter

          '--- Set ColumnNameFilter
          importProps.ColumnNameFilter = New String() {"Name", "Address", "Zip"}