LoadFromCollection(T) Method (IEnumerable(T))

Office Open XML

Load a collection into a the worksheet startng from the top left row of the range.

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelRangeBase LoadFromCollection<T>(
	IEnumerable<T> Collection
)
Visual Basic (Declaration)
Public Function LoadFromCollection(Of T) ( _
	Collection As IEnumerable(Of T) _
) As ExcelRangeBase
Visual C++
public:
generic<typename T>
ExcelRangeBase^ LoadFromCollection(
	IEnumerable<T>^ Collection
)

Parameters

Collection
Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)
The collection to load

Type Parameters

T
The datatype in the collection

Return Value

The filled range

See Also