Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns whether imported data rows will be truncated if the number of rows imported exceeds the number of target rows in the spreadsheet.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>  public boolean TruncateRows\{ get; set; \}
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net

<p>Public Property TruncateRows() As Boolean</p>

Example
Code Block
csharp
csharp
titleC#
          

...

//--- Get TruncateRows
          bool truncateRows = importProps.TruncateRows;

          //--- Set TruncateRows
          importProps.TruncateRows = true;
        
Code Block
vb.net
vb.net
titlevb.net
          

...

'--- Get TruncateRows
          Dim truncateRows As Boolean = importProps.TruncateRows

          '--- Set TruncateRows
          importProps.TruncateRows = True