a9c3a7c9 494b d6b3 df2b 9536d171e744 - akesseler/Plexdata.CsvParser GitHub Wiki

CsvContainer.GetValue(TType) Method (Int32, Int32)

This method gets the type-save value for provided column and at specified index.

Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

public Object GetValue<TType>(
	int column,
	int index
)

Parameters

 

column
Type: System.Int32
The zero-based index of affected column.
index
Type: System.Int32
The zero-based index of affected row.

Type Parameters

 

TType
The expected type to convert the string value into.

Return Value

Type: Object
An object representing the value for provided column and at specified index.

Exceptions

 

Exception Condition
Exception This method might throw any of the exceptions of the TypeConverter.

Remarks

First of all it is tried to get the string for provided column and at specified index. Thereafter, the type converter is called by providing additional information.

See Also

Reference

CsvContainer Class
GetValue Overload
Plexdata.CsvParser.Processors Namespace
CsvContainer.Exactly
CsvContainer.Culture
CsvContainer.Mappings
CsvContainer.TryGetValue(TType)(Int32, Int32)
CsvContainer.GetObject(String, Type)
TypeConverter.IntoObject(String, Type, Boolean, CultureInfo, CsvMappings)

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