Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.GetFieldAsDate

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

Syntax

CTDate GetFieldAsDate(int FieldNumber)

CTDate GetFieldAsDate(String FieldName)

Parameters

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

Description

Retrieves the field contents as a CTDate object

Return

GetFieldAsDate() returns the contents as CTDate object.

See Also

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

TOCIndex