Modify an element of the table.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Overridable Sub SetElement( _ ByVal row As Integer, _ ByVal col As Integer, _ ByVal x As Object _ ) _ Implements DataTable.SetElement |
| C# |
|---|
| public virtual void SetElement( int row, int col, object x ) |
| C++ |
|---|
| public: virtual void SetElement( int row, int col, Object x ) |
| J# |
|---|
| public virtual void SetElement( int row, int col, object x ) |
| JScript |
|---|
| public virtual
function SetElement( row : int, col : int, x : Object ) |
Parameters
- row
- The row containing the element.
- col
- The column containing the element.
- x
- The new datum. This should be 1-d primitive array.
Implements
DataTable.SetElement
Exceptions
| Exception Type | Condition |
|---|---|
| TableException | TableException Thrown when the new data is not of the same type as the data it replaces. |