Data.SqlTimSt.VarSQLTimeStamp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarSQLTimeStamp: TVarType;

C++

extern DELPHI_PACKAGE System::Word __fastcall VarSQLTimeStamp(void);

Properties

Type Visibility Source Unit Parent
function public
Data.SqlTimSt.pas
Data.SqlTimSt.hpp
Data.SqlTimSt Data.SqlTimSt

Description

Returns the TVarType constant that identifies the internal type of a Variant as a TSQLTimeStamp value.

VarSQLTimeStamp returns the TVarType constant that identifies a TSQLTimeStamp-valued Variant. This is the value that the VarType function returns when the Variant stores its value as a TSQLTimeStamp value.

The Variant type codes for custom Variants are dynamically allocated when the application loads the unit that implements them. VarSQLTimeStamp allows the application to identify the Variant type code that is currently used for custom Variants that represent an SQL time stamp. This value, however, may not match the type code used by another application that uses a different set of custom Variant types.

See Also