CSVReader.Deserialize<T> Method

/// Deserialize the CSV reader into a generic list ///
Public Function Deserialize(Of  _ 
T As {Class, New})() As IEnumerable(Of T)
This language is not supported or no code example is available.
public IEnumerable<T> Deserialize<T>() 
where T : class, new()
This language is not supported or no code example is available.
generic<typename T> 
where T : ref class, gcnew() 
public:  
IEnumerable<T^>^ Deserialize()
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T

The type to deserialize

Return Value

IEnumerable<T>

A streaming collection of objects as they are read from the source

Exception type Condition

Exception

If the CSV formatting does not match the object, throw errors

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition