System.Classes.UnregisterIntegerConsts
Delphi
procedure UnregisterIntegerConsts(AIntegerType: Pointer; AIdentToInt: TIdentToInt; AIntToIdent: TIntToIdent);
C++
extern DELPHI_PACKAGE void __fastcall UnregisterIntegerConsts(void * AIntegerType, TIdentToInt AIdentToInt, TIntToIdent AIntToIdent);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
説明
UnregisterIntegerConsts 手続きは,型の値を表す文字列識別子用の変換関数を登録解除します。
UnregisterIntegerConsts 手続き(Delphi でのみ呼び出し可能)は,RegisterIntegerConsts の呼び出しによって以前に登録された変換関数を登録解除します。UnregisterIntegerConsts は,initialization 部で定数を定義し,変換関数を登録するユニットの finalization 部から呼び出します。変換関数が登録解除されると,文字列識別子は型の値を表すためには使用できません。
AIntegerType は,値が文字列として表される整数ベースの型の型情報へのポインタです。その値は,TypeInfo 関数を使って基本型から取得できます。
AIdentToInt は,値のシンボル表現である文字列を対応する整数に変換する変換関数です。
AIntToIdent は,基本型のインスタンスである値を対応する文字列表現に変換する変換関数です。