Datasnap.DSProxyWriter.TDSCustomProxyWriter.GetDelphiTypeName

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function GetDelphiTypeName(const Param: TDSProxyParameter): string; virtual;

C++

virtual System::UnicodeString __fastcall GetDelphiTypeName(Datasnap::Dscommonproxy::TDSProxyParameter* const Param);

Propriétés

Type Visibilité  Source Unité  Parent
function protected
Datasnap.DSProxyWriter.pas
Datasnap.DSProxyWriter.hpp
Datasnap.DSProxyWriter TDSCustomProxyWriter

Description

Renvoie une chaîne avec le nom du type Delphi du paramètre donné.

La méthode GetDelphiTypeName renvoie une chaîne avec le nom du type Delphi spécifié par Param. Les valeurs de retour possibles sont indiquées dans le tableau suivant :

Paramètre Valeur de retour

TDBXDataTypes.AnsiStringType

'AnsiString'

TDBXDataTypes.BooleanType

'Boolean'

TDBXDataTypes.Int8Type

'ShortInt'

TDBXDataTypes.UInt8Type

'Byte'

TDBXDataTypes.Int16Type

'SmallInt'

TDBXDataTypes.UInt16Type

'Word'

TDBXDataTypes.Int32Type

'Integer'

TDBXDataTypes.Int64Type

'Int64'

TDBXDataTypes.WideStringType

'String'

TDBXDataTypes.SingleType

'Single'

TDBXDataTypes.DoubleType

'Double'

TDBXDataTypes.BcdType

'TBcd'

TDBXDataTypes.TimeType

'TDBXTime'

TDBXDataTypes.DatetimeType

'TDateTime'

TDBXDataTypes.DateType

'TDBXDate'

TDBXDataTypes.TimeStampType

'TSQLTimeStamp'

TDBXDataTypes.TimeStampOffsetType

'TSQLTimeStampOffset'

TDBXDataTypes.CurrencyType

'Currency'

TDBXDataTypes.TableType

'TDBXReader'

TDBXDataTypes.BinaryBlobType

'TStream'

TDBXDataTypes.VariantType

'Variant'

TDBXDataTypes.DbxConnectionType

'TDBXConnection'

Type de paramètre inconnu

'{UnknownType(' + IntToStr(Param.DataType) + ')}'

Voir aussi