DeleteVariable method

The DeleteVariable method removes a variable, including variables such as TYPE or STATUS that are installed with Datacap, and its value from a runtime DCO object.

Syntax

VBScript
oDCO.DeleteVariable (lpszName as String ) as Boolean
C#
bool DeleteVariable(string lpszName)

Applies to

All objects.

Arguments

lpszName
The name of the variable to delete (case sensitive).

Returns

Returns true if successful; returns false if unsuccessful.