FrameTableAddColumnT Method (String, ListT) |
Adds a new column with the given name and stored values.
Namespace:
Meta.Numerics.Data
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public void AddColumn<T>(
string name,
List<T> storage
)
Public Sub AddColumn(Of T) (
name As String,
storage As List(Of T)
)
public:
generic<typename T>
void AddColumn(
String^ name,
List<T>^ storage
)
member AddColumn :
name : string *
storage : List<'T> -> unit
Parameters
- name
- Type: SystemString
The name of the column. - storage
- Type: System.Collections.GenericListT
The stored values.
Type Parameters
- T
- The type of the column.
Remarks Use this overload when you already have a collection of column values
and want to use it as a column in an existing FrameTable.
Note that the values are not copied; the collection you provide is used directly
as the column storage. Therefore any changes you make to the collection after
adding the column will affect the frame table. To avoid problems, do not
alter the collection after submitting it to this method.
See Also