6d68c3be 2c9d e193 01d9 717561d72609 - akesseler/Plexdata.CsvParser GitHub Wiki

CsvContainer.ChangeColumn Method

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

Syntax

C#

private void ChangeColumn(
	int column,
	List<string> source
)

Parameters

 

column
Type: System.Int32
The zero-based index of affected column to change.
source
Type: System.Collections.Generic.List(String)
The new column content.

Remarks

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.

See Also

Reference

CsvContainer Class
Plexdata.CsvParser.Processors Namespace

⚠️ **GitHub.com Fallback** ⚠️