IHasName<TClass, TMember> Interface
Has name capabilities.
graph BT Type-.->Interface0["IBuildableClass<TClass>"] Type["IHasName<TClass, TMember>"] class Type type-node Implementing0["IHasMapOptions<TClass, TMember>"]-.->Type click Implementing0 "/CsvHelper/api/CsvHelper.Configuration/IHasMapOptions_2" Implementing1["IHasOptionalOptions<TClass, TMember>"]-.->Type click Implementing1 "/CsvHelper/api/CsvHelper.Configuration/IHasOptionalOptions_2" Implementing2["IHasIndexOptions<TClass, TMember>"]-.->Type click Implementing2 "/CsvHelper/api/CsvHelper.Configuration/IHasIndexOptions_2"

Syntax

public interface IHasName<TClass, TMember> : IBuildableClass<TClass>

Type Parameters

Name Description
TClass The class type.
TMember The member type.

Methods

Name Return Value Summary
Name(string[]) IHasNameOptions<TClass, TMember>
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.