FrameTable.AddColumn<T> Method (String, List<T>) |
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
Syntaxpublic 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: System.String
The name of the column. - storage
- Type: System.Collections.Generic.List<T>
The stored values.
Type Parameters
- T
- The type of the column.
RemarksUse 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