System.Internal.VarHlpr.VariantNot

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function  VariantNot(const V1: Variant): Variant;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Internal.VarHlpr.pas
System.Internal.VarHlpr.hpp
System.Internal.VarHlpr System.Internal.VarHlpr

Description

Effectue une opération not sur un Variant.

VariantNot effectue une opération not logique ou bit à bit sur V1 et renvoie un nouveau Variant contenant le résultat.

La valeur d'entrée doit être convertible en type numérique ou booléen. Sinon, une exception EVariantTypeCastError sera déclenchée.

Voir aussi