3df02501 2178 cf48 02bd 84e156690820 - akesseler/Plexdata.CsvParser GitHub Wiki

CsvContainer.GetValue Method (Int32, Int32, Type)

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

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

Syntax

C#

public Object GetValue(
	int column,
	int index,
	Type type
)

Parameters

 

column
Type: System.Int32
The zero-based index of affected column.
index
Type: System.Int32
The zero-based index of affected row.
type
Type: System.Type
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(Int32, Int32, Type)
CsvContainer.GetObject(String, Type)
TypeConverter.IntoObject(String, Type, Boolean, CultureInfo, CsvMappings)

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