RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AutoCmd::ClearName Method

Blanks the name of the associated method.

Pascal
function ClearName: AutoCmd&;
C++
AutoCmd& ClearName();

Call System::AutoCmd::ClearName to disassociate the System::AutoCmd::AutoCmd object from the Automation interface method it represents. System::AutoCmd::ClearName replaces the method name with an empty string, but does not free any parameter values that have been assigned. After a call to System::AutoCmd::ClearName, the System::AutoCmd::AutoCmd object can’t be executed until a new method name is assigned using the SetName method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!