System.VarUtils.VariantInit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VariantInit; external oleaut name 'VariantInit';

C++

extern "C" void __stdcall VariantInit(TVarData &V);

Properties

Type Visibility Source Unit Parent
procedure
function
external public
System.VarUtils.pas
System.VarUtils.hpp
System.VarUtils System.VarUtils

Description

Initializes a variant.

Use the VariantInit procedure to initialize the variant given through the V parameter.

VariantInit sets the VType field of V to varEmpty and sets all its bytes to zero.

See Also