5ccde048 0079 c119 4d6a f21c4b2e47d0 - akesseler/Plexdata.CsvParser GitHub Wiki
This method tries to get the type-save value for provided column an at specified index.
Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea
C#
public Object TryGetValue<TType>(
int column,
int index
)
- column
- Type: System.Int32
The zero-based index of affected column. - index
- Type: System.Int32
The zero-based index of affected row.
- TType
- The expected type to convert the string value into.
Type: Object
An object representing the value for provided column and at specified index or null
either if a value for column and index could not be found or an exception has occurred during type conversion.
This method is intended as an alternative to method GetValue(TType)(Int32, Int32) because this method does not throw any exception.
CsvContainer Class
TryGetValue Overload
Plexdata.CsvParser.Processors Namespace
CsvContainer.Exactly
CsvContainer.Culture
CsvContainer.Mappings
CsvContainer.GetValue(TType)(Int32, Int32)
CsvContainer.GetObject(String, Type)
TypeConverter.IntoObject(String, Type, Boolean, CultureInfo, CsvMappings)