System.Internal.VarHlpr.VariantSub2
Delphi
function VariantSub2(const V1: Variant; const V2: Variant): Variant;
C++
extern DELPHI_PACKAGE System::Variant __fastcall VariantSub2(const System::Variant &V1, const System::Variant &V2);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Internal.VarHlpr.pas System.Internal.VarHlpr.hpp |
System.Internal.VarHlpr | System.Internal.VarHlpr |
説明
2 つのバリアントを減算します。
VariantSub2 は V1 を V2 から減算し、結果を保持する新しいバリアントを返します。
入力値は互換性がある型が必要で、互換性がない場合は、EVariantTypeCastError 例外が発生します。