 | CTBSetInt Method |
Sets an integer value into a table element.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetInt(
int row,
int col,
int val
)
public void SetInt(
int row,
int col,
int val
)
Public Sub SetInt (
row As Integer,
col As Integer,
val As Integer
)
Public Sub SetInt (
row As Integer,
col As Integer,
val As Integer
)
public:
void SetInt(
int row,
int col,
int val
)
public:
void SetInt(
int row,
int col,
int val
)
member SetInt :
row : int *
col : int *
val : int -> unit
member SetInt :
row : int *
col : int *
val : int -> unit
Parameters
- row
- Type: SystemInt32
Row of element to set - col
- Type: SystemInt32
Column of element to set - val
- Type: SystemInt32
Value to set
Remarks
The table field containing the element to be set MUST be
of type <define>GS_BYTE</define>, <define>GS_USHORT</define>, <define>GS_SHORT</define>, or <define>GS_LONG</define>.
If the field is <define>GS_BYTE</define>, <define>GS_USHORT</define>, or <define>GS_LONG</define>, the new data
value will cause an overflow if the value is out of range of
the data type. The new element value will then be invalid.
If the row of the new element exceeds the number of rows in
the table, then the table will AUTOMATICALLY be EXPANDED to
exactly as many rows needed to hold the new element. The new
element is placed in the proper field of the last row, and
all other field elements have invalid data. All fields of
the new rows up to the new element's row will also contain
invalid data.
See Also