System.Internal.VarHlpr.VariantNot

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function  VariantNot(const V1: Variant): Variant;

C++

extern DELPHI_PACKAGE System::Variant __fastcall VariantNot(const System::Variant &V1);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.Internal.VarHlpr.pas
System.Internal.VarHlpr.hpp
System.Internal.VarHlpr System.Internal.VarHlpr

Beschreibung

Führt eine NICHT-Operation mit einer Variante durch.

VariantNot führt eine bitweise oder logische NICHT-Operation mit V1 durch und gibt eine neue Variante zurück, die das Ergebnis enthält.

Der Eingabewert muss in einen numerischen oder booleschen Typ konvertierbar sein; ansonsten wird eine EVariantTypeCastError-Exception ausgelöst.

Siehe auch