77b4e30d 26a4 3e94 c8e3 d6142be5fb4e - akesseler/Plexdata.CsvParser GitHub Wiki

CsvContainer.GetObject Method

This method simply tries to convert provided string into its expected object representation.

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

Syntax

C#

private Object GetObject(
	string value,
	Type type
)

Parameters

 

value
Type: System.String
The string value to be converted.
type
Type: System.Type
The type to convert the value into.

Return Value

Type: Object
An object representation of provided value.

Exceptions

 

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

Remarks

The value conversion takes place by using the internal type converter.

See Also

Reference

CsvContainer Class
Plexdata.CsvParser.Processors Namespace
TypeConverter.IntoObject(String, Type, Boolean, CultureInfo, CsvMappings)

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