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
Wiki Markup
{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.{excerpt}
{signature:C#}
 public int MaxColumns{ get; set; }
{signature}{signature:vb.net}
Public Property MaxColumns() As Integer
{signature}
{remarks}The default value is 0, which represents unlimited columns.

{remarks}
{example}{code:csharp|title=C#}

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

          //--- Set MaxRows
          importProps.MaxColumns = 10;
        {code}
{code:vb.net|title=vb.net}

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

          '--- Set MaxRows
          importProps.MaxColumns = 10
        {code}

{example}