System.SysUtils.GetLocaleFormatSettings

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure GetLocaleFormatSettings(Locale: TLocaleID; var AFormatSettings: TFormatSettings);

C++

extern DELPHI_PACKAGE void __fastcall GetLocaleFormatSettings _DEPRECATED_ATTRIBUTE1("Use TFormatSettings.Create(Locale)") (unsigned Locale, TFormatSettings &AFormatSettings);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils


説明

警告: GetLocaleFormatSettings は非推奨になっています。 TFormatSettings.Create を使用してください。

TFormatSettings レコードを初期化します(廃止予定。代わりに TFormatSettings.Create を使用してください)。

GetLocaleFormatSettings は、LCID で指定された Windows ロケール ID に基づいて FormatSettings に値を入力します。 TFormatSettings データ構造体を文字列書式設定ルーチンで使用するには、まず GetLocaleFormatSettings を呼び出して初期化する必要があります。

メモ: GetLocaleFormatSettings ルーチンは廃止予定です。代わりに、TFormatSettings.Create を使用してください。

関連項目