Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns an int that represents the maximum number of columns to be imported. If more columns than this are in the data source, the extra ones will be ignored.

Signature
C#
C#
 public int MaxColumns{ get; set; }
Signature
vb.net
vb.net
Public Property MaxColumns() As Integer
Remarks

The default value is 0, which represents unlimited columns.

Example
Code Block
csharp
csharp
titleC#

          //--- Return MaxColumns
          int cols = importProps.MaxColumns;

          //--- Set MaxRows
          importProps.MaxColumns = 10;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return MaxColumns
          Dim cols As Integer = importProps.MaxColumns

          '--- Set MaxRows
          importProps.MaxColumns = 10