Interface IHasName<TClass, TMember>
- Namespace
- CsvHelper.Configuration
- Assembly
- CsvHelper.dll
Has name capabilities.
public interface IHasName<TClass, TMember> : IBuildableClass<TClass>
Type Parameters
TClassThe class type.
TMemberThe 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
namesstring[]The possible names of the CSV field.
Returns
- IHasNameOptions<TClass, TMember>