CSVSettings.AllowSepLine Property

/// When reading a CSV file, if the first line contains the instruction `sep=`, use this /// to determine the separator for the file. /// /// The "sep" line is a feature exclusive to Microsoft Excel, which permits CSV files to /// more easily handle European files where the comma character is often a separator between /// numeric values rather than a field delimiter. /// /// If this flag is set to true, when you parse a CSV, the first line of the parsing can override /// the field separator logic for each individual instance of parsing, but it will not change /// the `FieldDelimiter` in your settings object. /// /// More information: /// * [Original Issue Report](https://github.com/tspence/csharp-csv-reader/issues/28) /// * [Superuser Article](https://superuser.com/questions/773644/what-is-the-sep-metadata-you-can-add-to-csvs) /// * [Tjitjing Blog](https://blog.tjitjing.com/index.php/2016/07/set-separator-delimiter-in-csv-file-to-open-correctly-in-excel.html) ///
Public Property AllowSepLine() As Boolean
This language is not supported or no code example is available.
public bool AllowSepLine {get; set;}
This language is not supported or no code example is available.
public:  
property bool AllowSepLine { 
bool get( ); 
void set( 
bool value 
); 
}
This language is not supported or no code example is available.
public function get AllowSepLine() : boolean
public function set AllowSepLine(value : boolean);
This language is not supported or no code example is available.

Property Value

bool

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition