Interface IHasName<TClass, TMember>
- Namespace
- CsvHelper.Configuration
- Assembly
- CsvHelper.dll
Has name capabilities.
public interface IHasName<TClass, TMember> : IBuildableClass<TClass>
Type Parameters
TClass
The class type.
TMember
The member type.
- Inherited Members
Methods
Name(params string[])
When reading, is used to get the field at the index of the name if there was a header specified. It will look for the first name match in the order listed. When writing, sets the name of the field in the header record. The first name will be used.
IHasNameOptions<TClass, TMember> Name(params string[] names)
Parameters
names
string[]The possible names of the CSV field.
Returns
- IHasNameOptions<TClass, TMember>