The character used to denote a line that is commented out.
Default is #.
- Namespace
- CsvHelper
.Configuration .Attributes - Interfaces
- Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type-.->Interface0["IClassMapper"]
click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper"
Type["CommentAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class CommentAttribute : Attribute, IClassMapper
Attributes
| Type | Description |
|---|---|
| AttributeUsage |
Constructors
| Name | Summary |
|---|---|
| CommentAttribute |
The character used to denote a line that is commented out. |
Properties
| Name | Property Type | Summary |
|---|---|---|
| Comment | char |
Gets the character used to denote a line that is commented out.
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| ApplyTo |
void |
Applies configuration.
|