System.Variants.TCustomVariantType.RaiseCastError
Delphi
procedure RaiseCastError;
C++
void __fastcall RaiseCastError();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Variants.pas System.Variants.hpp |
System.Variants | TCustomVariantType |
説明
不正なキャストを示すシステムエラーを生成します。
RaiseCastError メソッドは,バリアント値が必要な型にキャストできないために処理が失敗したときに,TCustomVariantType の下位クラスの実装から呼び出します。