Unit 'fpwidestring' Package
[Overview][Procedures and functions][Variables][Index] [#rtl]

SetActiveCollation

Set the active collation for the current thread.

Declaration

Source position: fpwidestring.pp line 18

function SetActiveCollation(

  const AName: UnicodeString

):Boolean;

function SetActiveCollation(

  const ACollation: PUCA_DataBook

):Boolean;

Arguments

AName

  

Name with which the collation was registered.

Function result

True if the collation was successfully set.

Arguments

ACollation

  

Actual collation data to set as active collation.

Description

SetActiveCollation sets the collation used in the current thread of the application. This can be done using the name of the collation (AName) as registered or in the unicodedata unit or using the actual collation data (ACollation).

Errors

If the collation AName was not found, or ACollation is nil, then False is returned.

See also

GetActiveCollation

  

Return the currently active collation for the current thread.

DefaultCollationName

  

Default collation for new threads.


Documentation generated on: Oct 27 2024