Click or drag to resize

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
)

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