Set the values in a particular column. The new values must match the old in length but not necessarily in type.


Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Sub SetColumn( _ 
   ByVal col As Integer,  _ 
   ByVal newColumn As Object _ 
) _
    Implements DataTable.SetColumn
C#
public virtual void SetColumn(
   int col,
   object newColumn
)
C++
public:
 virtual void SetColumn(
   int col,
   Object newColumn
)
J#
public virtual void SetColumn(
   int col,
   object newColumn
)
JScript
public virtual  function SetColumn(
   col : int,
   newColumn : Object
)

Parameters

col
The column to modify.
newColumn
The new column data. This should be a primitive array.

Implements

DataTable.SetColumn

Exceptions

Exception TypeCondition
TableException Thrown when the new data is not commenserable with informaiton in the table. (broken link "!:") TableException Thrown when the new data is not commenserable with informaiton in the table.

See Also