CsvSourceOptions.NewlineType Property

Gets or sets the character used to identify a new line in a CSV document.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v21.1.dll

Declaration

[DefaultValue(CsvNewlineType.CRLF)]
public CsvNewlineType NewlineType { get; set; }

Property Value

Type Default Description
CsvNewlineType

CRLF

A CsvNewlineType object that specifies the character used to identify a new line in a CSV document.

Available values:

Name Description
CRLF

A carriage return/linefeed character combination.

LF

A line feed character.

CR

A carriage return character.

LFCR

A carriage linefeed/return character combination.

VT

A vertical tab character.

FF

A form feed character for the print function.

Remarks

Use the CsvSourceOptions.DetectNewlineType property to specify whether the character used to identify a new line is automatically determined.

See Also