BuiltIn.VarClear Method

Applies to TestComplete 15.63, last modified on April 10, 2024

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