Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.GetFieldAsNumber

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

Syntax

CTNumber GetFieldAsNumber(int FieldNumber)

CTNumber GetFieldAsNumber(String FieldName)

Parameters

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

Description

Retrieves the field contents as a CTNumber object

Return

GetFieldAsFloat() returns the contents as a CTNumber object.

See Also

GetFieldAsBigint(), GetFieldAsBlob(), GetFieldAsBool(), GetFieldAsByte(), GetFieldAsChar(), GetFieldAsCurrency(), GetFieldAsDate(), GetFieldAsDateTime(), GetFieldAsFloat(), GetFieldAsMoney(), GetFieldAsShort(), GetFieldAsSigned(), GetFieldAsString(), GetFieldAsTime(), GetFieldAsUnsigned(), GetFieldAsWord(), SetFieldAsNumber(), GetFieldValue()

TOCIndex