Constructs a data table from a data frame.
Namespace:
Extreme.Data
Assembly:
Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
public static DataTable ToDataTable(
this IDataFrame dataFrame,
string keyColumn
)
<ExtensionAttribute>
Public Shared Function ToDataTable (
dataFrame As IDataFrame,
keyColumn As String
) As DataTable
public:
[ExtensionAttribute]
static DataTable^ ToDataTable(
IDataFrame^ dataFrame,
String^ keyColumn
)
[<ExtensionAttribute>]
static member ToDataTable :
dataFrame : IDataFrame *
keyColumn : string -> DataTable
Parameters
- dataFrame
- Type: Extreme.DataAnalysisIDataFrame
The data frame to convert. - keyColumn
- Type: SystemString
The name of the column that contains the row index values.
Return Value
Type:
DataTableA data table containing the columns in
dataFrame,
using
keyColumn as the name for the column
that contains the row index of the data frame.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDataFrame. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference