SerializerTDeserialize Method (String, Encoding) |
Deserializes a CSV to a list of objects.
Namespace:
Enkoni.Framework.Serialization
Assembly:
Enkoni.Framework.Serialization (in Enkoni.Framework.Serialization.dll) Version: 1.3.0.1
Syntaxpublic ICollection<T> Deserialize(
string filePath,
Encoding encoding
)
Public Function Deserialize (
filePath As String,
encoding As Encoding
) As ICollection(Of T)
public:
ICollection<T>^ Deserialize(
String^ filePath,
Encoding^ encoding
)
member Deserialize :
filePath : string *
encoding : Encoding -> ICollection<'T>
Parameters
- filePath
- Type: SystemString
File path to csv file. - encoding
- Type: System.TextEncoding
The encoding that must be used to deserialize the data.
Return Value
Type:
ICollectionTList with objects.
See Also