Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
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}{signature:vb.net
vb.net
}
Public Property MaxColumns() As Integer
Remarks

The default value is 0, which represents unlimited columns.

{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}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle