Table of Contents

Class IgnoreBlankLinesAttribute

Namespace
CsvHelper.Configuration.Attributes
Assembly
CsvHelper.dll

A value indicating whether blank lines should be ignored when reading.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class IgnoreBlankLinesAttribute : Attribute, IClassMapper
Inheritance
IgnoreBlankLinesAttribute
Implements
Inherited Members

Constructors

IgnoreBlankLinesAttribute(bool)

A value indicating whether blank lines should be ignored when reading.

public IgnoreBlankLinesAttribute(bool ignoreBlankLines = true)

Parameters

ignoreBlankLines bool

Properties

IgnoreBlankLines

Gets a value indicating whether blank lines should be ignored when reading.

public bool IgnoreBlankLines { get; }

Property Value

bool

Methods

ApplyTo(CsvConfiguration)

public void ApplyTo(CsvConfiguration configuration)

Parameters

configuration CsvConfiguration