Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.GetFieldAsBytes

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

Syntax

UTEXT GetFieldAsBytes(int FieldNumber)

UTEXT GetFieldAsBytes(String FieldName)

Parameters

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

Description

Retrieves the field contents as a UTEXT value (unsigned one-byte integer).

Return

GetFieldAsBytes() returns the contents as a UTEXT value.

See Also

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

TOCIndex