Class CommentAttribute
- Namespace
- CsvHelper.Configuration.Attributes
- Assembly
- CsvHelper.dll
The character used to denote a line that is commented out. Default is #.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class CommentAttribute : Attribute, IClassMapper
- Inheritance
-
CommentAttribute
- Implements
- Inherited Members
Constructors
CommentAttribute(char)
The character used to denote a line that is commented out.
public CommentAttribute(char comment)
Parameters
comment
charThe comment character.
Properties
Comment
Gets the character used to denote a line that is commented out.
public char Comment { get; }
Property Value
Methods
ApplyTo(CsvConfiguration)
public void ApplyTo(CsvConfiguration configuration)
Parameters
configuration
CsvConfiguration