Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.SetFieldAsNumber

Note: All GetFieldAs... and SetFieldAs... methods are considered obsolete. The suggested replacements are GetFieldValue and SetFieldValue.

Syntax

void SetFieldAsNumber(int FieldNumber, CTNumber& value)

void SetFieldAsNumber (String FieldName, CTNumber& value)

Parameters

  • FieldNumber [in] The field number.
  • value [in] The byte value.
  • FieldName [in] The field name.

Description

Sets the field contents as a CTNumber object.

Return

None.

See Also

GetFieldAsUnsigned(), SetFieldValue()

TOCIndex