API:Data.DB.TSQLTimeStampOffsetField.GetText

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TSQLTimeStampOffsetField

Delphi

procedure GetText(var Text: string; DisplayText: Boolean); override;

C++

virtual void __fastcall GetText(System::UnicodeString &Text, bool DisplayText);

Description

Returns the field's value as a string.

Data.DB.TSQLTimeStampOffsetField.GetText inherits from Data.DB.TSQLTimeStampField.GetText. All content below this line refers to Data.DB.TSQLTimeStampField.GetText.

Returns the field's value as a string.

The GetText method populates the Text parameter with the field's value returned as a string. If the DisplayText parameter is True, then formatting is applied to the field's value, otherwise the Text parameter will hold the value as it is stored in the field.

If the field has no value, Text will contain an empty string.

See Also