EnumerableExtensions..::..ToDataTable Method

To the data table.

Namespace:  MichaelBrandonMorris.Extensions.CollectionExtensions
Assembly:  MichaelBrandonMorris.Extensions.CollectionExtensions (in MichaelBrandonMorris.Extensions.CollectionExtensions.dll)

Syntax


public static DataTable ToDataTable(
	IEnumerable<ExpandoObject> expandoObjectEnumerable
)
Public Shared Function ToDataTable ( _
	expandoObjectEnumerable As IEnumerable(Of ExpandoObject) _
) As DataTable
public:
static DataTable^ ToDataTable(
	IEnumerable<ExpandoObject^>^ expandoObjectEnumerable
)

Parameters

expandoObjectEnumerable
Type: IEnumerable<(Of <(<'ExpandoObject>)>)>
The expando object enumerable.

Return Value

DataTable.