Description |
---|
Excerpt |
---|
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. |
Signature | ||||
---|---|---|---|---|
| ||||
<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 System.String[] ColumnNameFilter{ get; set; } </pre></td></tr></tbody></table> |
Signature | ||||
---|---|---|---|---|
| ||||
<p>Public Property ColumnNameFilter() As String()</p> |
Example |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//--- Return ColumnNameFilter String[] colNames = importProps.ColumnNameFilter; //--- Set ColumnNameFilter importProps.ColumnNameFilter = new String[]{"Name", "Address", "Zip"}; |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
'--- Return ColumnNameFilter Dim colNames As String() = importProps.ColumnNameFilter '--- Set ColumnNameFilter importProps.ColumnNameFilter = New String() {"Name", "Address", "Zip"} |
Example |
---|