System.Internal.VarHlpr.VariantNot
Delphi
function VariantNot(const V1: Variant): Variant;
C++
extern DELPHI_PACKAGE System::Variant __fastcall VariantNot(const System::Variant &V1);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Internal.VarHlpr.pas System.Internal.VarHlpr.hpp |
System.Internal.VarHlpr | System.Internal.VarHlpr |
Description
Performs a not operation on a Variant.
VariantNot performs a bit-wise or a logical not operation on V1 and returns a new Variant holding the result.
The input value must be convertible to a numerical or boolean type; otherwise an EVariantTypeCastError exception will be raised.