6d68c3be 2c9d e193 01d9 717561d72609 - akesseler/Plexdata.CsvParser GitHub Wiki
Changes the whole content of affected column.
Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea
C#
private void ChangeColumn(
int column,
List<string> source
)
- column
- Type: System.Int32
The zero-based index of affected column to change. - source
- Type: System.Collections.Generic.List(String)
The new column content.
This method changes the whole content of affected column.
In case of source list is longer than affected column only the possible elements are taken into account.
The other way round, in case of source list is shorter than affected column all remaining column elements are reset to null
.
Additionally please note that nothing will happen if the source list is null
or empty.