System.Variants.TCustomVariantType.RaiseCastError

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

Delphi

procedure RaiseCastError;

C++

void __fastcall RaiseCastError();

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
System.Variants.pas
System.Variants.hpp
System.Variants TCustomVariantType

説明

不正なキャストを示すシステムエラーを生成します。

RaiseCastError メソッドは,バリアント値が必要な型にキャストできないために処理が失敗したときに,TCustomVariantType の下位クラスの実装から呼び出します。

関連項目