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

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

objectList
IEnumerable<T>

IEnumerable list of objects

sheetNumber
int

The number of the sheet starting at 1

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