Table of Contents

Class EscapeAttribute

Namespace
CsvHelper.Configuration.Attributes
Assembly
CsvHelper.dll

The escape character used to escape a quote inside a field.

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

Constructors

EscapeAttribute(char)

The escape character used to escape a quote inside a field.

public EscapeAttribute(char escape)

Parameters

escape char

The escape character.

Properties

Escape

Gets the escape character used to escape a quote inside a field.

public char Escape { get; }

Property Value

char

Methods

ApplyTo(CsvConfiguration)

public void ApplyTo(CsvConfiguration configuration)

Parameters

configuration CsvConfiguration