Gets, sets or adds a column with the specified key.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public IVector this[
C key
] { get; set; }
Public Default Property Item (
key As C
) As IVector
Get
Set
public:
property IVector^ default[C key] {
IVector^ get (C key);
void set (C key, IVector^ value);
}
member Item : IVector with get, set
Parameters
- key
- Type: C
The key of the column.
Return Value
Type:
IVectorThe column with the specified key.
Exception | Condition |
---|
KeyNotFoundException | The column could not be retrieved because no column
with the specified key could be found. |
DimensionMismatchException | The new value for the column does not have an index,
and the length of the new column does not equal the number
of rows in the data frame. |
InvalidOperationException | The value is the first column added to the data frame
and it does not have a valid index. |
When setting a value, if a column with the specified
key already exists, this column is replaced with the new value.
Otherwise, a new column is added.
Reference