[Overview][Procedures and functions][Variables][Index] Reference for unit 'fpwidestring' (#rtl)

SetActiveCollation

Set the active collation for the current thread.

Declaration

Source position: fpwidestring.pp line 11

function SetActiveCollation(

  const AName: TCollationName

):Boolean;

function SetActiveCollation(

  const ACollation: PUCA_DataBook

):Boolean;

Arguments

AName

  

Name with which the collation was registered

Function result

True if the collation was succesfully 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: Nov 16 2015