FireDAC.Phys.SQLite.TFDSQLiteCollation.CollationKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CollationKind: TFDSQLiteCollationKind read FCollationKind

C++

__property TFDSQLiteCollationKind CollationKind = {read=FCollationKind, write=SetCollationKind, default=0};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.SQLite.pas
FireDAC.Phys.SQLite.hpp
FireDAC.Phys.SQLite TFDSQLiteCollation

Description

The collation implementation kind.

Use the CollationKind property to specify the collation implementation kind.

The scCompareString collations use the Win32 / Win64 CompareStringW API. The application should specify the Flags and LocaleName properties. The scCompareString is the default value.

The scCustomUTF8 and scCustomUTF16 collations use the OnCompare event handler, which must be defined by the application. The OnCompare event handler receives UTF8 or UTF16 encoded strings depending on the collation kind.

Kind Description

scCompareString

The collation uses the Win32 / Win64 CompareStringW API. The application should specify the Flags and LocaleName properties.

scCustomUTF8

The collation uses the OnCompare event handler. The strings in the event handler are UTF8 encoded.

scCustomUTF16

The collation uses the OnCompare event handler. The strings in the event handler are UTF16 encoded.

See Also