BuiltIn.VarClear Method

Applies to TestComplete 14.10, last modified on June 5, 2019

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.

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

aqConvert.VarToStr Method
aqConvert.VarToBool Method
aqConvert.VarToFloat Method
aqConvert.VarToInt Method
aqObject.GetVarType Method

Highlight search results