Adds the given DataColumn and accompanying data to this data frame.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public DataFrame AddColumn( DataColumn column, DataRowCollection rows ) |
| Visual Basic (Declaration) |
|---|
Public Function AddColumn ( _ column As DataColumn, _ rows As DataRowCollection _ ) As DataFrame |
| Visual C++ |
|---|
public: DataFrame^ AddColumn( DataColumn^ column, DataRowCollection^ rows ) |
Parameters
- column
- Type: System.Data..::.DataColumn
A DataColumn.
- rows
- Type: System.Data..::.DataRowCollection
A DataRowCollection containing data for this column.
Return Value
This data frame.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the number of columns in the DataRowCollection is not equal to one, or if the DataRowCollection does not contain the same number of rows as this data fra. |