System.AutoCmd.Clear
C++
AutoCmd& Clear(); // ClearName() + ClearArgs()
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | sysvari.h | System | AutoCmd |
Description
Clears any assigned parameters and replaces the name of the associated method with an emtpy string.
Call Clear to remove the AutoCmd object’s association with an Automation interface method. Clear replaces the method name with an empty string, and frees all arguments that have been assigned. After a call to Clear, the AutoCmd object cannot be executed until a new method name is assigned (using SetName) and, if necessary, new parameters are assigned (using the << operator).