FastExcel.Write<T> (IEnumerable<T>, String, Boolean) Method

Write a list of objects to a sheet
Public Sub Write(Of  _ 
T)( _ 
ByVal rows As IEnumerable(Of T), _ 
ByVal sheetName As String, _ 
ByVal usePropertiesAsHeadings As Boolean
)
This language is not supported or no code example is available.
public void Write<T>( 
IEnumerable<T> rows
string sheetName
bool usePropertiesAsHeadings 
)
This language is not supported or no code example is available.
generic<typename T> 
public:  
void Write( 
IEnumerable<T>^ rows
String^ sheetName
bool usePropertiesAsHeadings 
)
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

Row Object

Parameters

rows
IEnumerable<T>

IEnumerable list of objects

sheetName
string

The display name of the sheet

usePropertiesAsHeadings
bool

Use property names from object list as headings

.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