Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.SetFieldAsShort

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

Syntax

void SetFieldAsShort (int FieldNumber, COUNT value)

void SetFieldAsShort(String FieldName, COUNT value)

Parameters

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

Description

Sets the field contents as a 2-bytes signed integer (COUNT).

Return

None.

See Also

GetFieldAsUnsigned(), SetFieldValue()

TOCIndex