BuiltIn.VarClear Method

Applies to TestComplete 14.92, last modified on September 16, 2021

Description

Sets the OLEVariant type of Value to varEmpty (0). When used in expressions, a varEmpty variable will cause an error. It cannot be converted to another type by using the VarToBool, VarToStr, VarToString, VarToWString, VarToInteger and VarToFloat methods, as well as by using methods provided by the aqConvert object.

This method is available if the BuiltIn plugin is installed and enabled. The plugin is installed and enabled by default.

Declaration

BuiltIn.VarClear(Value)

Value [in, out]    Required    Variant    
Result None

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Value

The OLEVariant value whose type you want to set to varEmpty.

Result Value

None.

See Also

VarToStr Method
VarToBool Method
VarToFloat Method
VarToInt Method
GetVarType Method

Highlight search results