Class CsvNoHeaderAttribute
Attribute for CSV files without header definitions Attribute used together with the ParseWithoutHeader functions
Inheritance
System.Object
CsvNoHeaderAttribute
Namespace: FluentCsvMachine
Assembly: library.dll
Syntax
public class CsvNoHeaderAttribute : Attribute
Constructors
| Improve this Doc View SourceCsvNoHeaderAttribute(Int32, Nullable<String>)
Add this attribute to your property to define the column
Declaration
public CsvNoHeaderAttribute(int columnIndex, string? inputFormat = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | columnIndex | CSV Column Index !Zero Based! Shall not be greater than the minimum number of columns defined on any line |
System.Nullable<System.String> | inputFormat | InputFormat for DateTime, ... |
Properties
| Improve this Doc View SourceColumnIndex
Column Index
Declaration
public int ColumnIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
InputFormat
InputFormat
Declaration
public string? InputFormat { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |