getColumnSize( )

Retrieves the size of a column for a specified index value.

Interface

AGDBMetadata

IDL definition
const String getColumnSize(const unsigned long index);
ADO equivalent

DefinedSize property on Field object

JavaScript synopsis
mdObj.getColumnSize(index)
C synopsis
PODSInt32 AVgetColumnSize(
  AGDBMetadata* mdObj,
  const PODSUInt32 index
);
Parameters
  • mdObj   The AGDBMetadata object.

  • index   [in] The index value of the column.

Returns

The column size, in bytes.

Remarks

String values that have no defined size will return -1.