Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTTable::GetField

Syntax

CTField GetField(NINT FieldNumber) const

CTField GetField(const CTString& FieldName) const

Parameters

  • FieldNumber [in] The field number to be retrieved from the table. The first field in the table is field number zero.
  • FieldName [in] The field name to be retrieved from the table.

Description

Retrieves a field by its number or name. The first field in the table is the field number zero.

Return

GetField() returns the field object.

See also

GetFieldNumber(), GetFieldCount()

TOCIndex