The newline string to use. Default is \r\n (CRLF).
When writing, this value is always used.
When reading, this value is only used if explicitly set.
If not set, the parser uses one of \r\n, \r, or \n.
graph BT
Type-->Base0["Attribute"]
Type-.->Interface0["IClassMapper"]
click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper"
Type["NewLineAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class NewLineAttribute : Attribute, IClassMapper
Attributes
Type |
Description |
AttributeUsage |
|
Constructors
Properties
Name |
Property Type |
Summary |
NewLine |
string |
|
Methods