RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AutoCmd::SetName Method

Sets the name of the method the System::AutoCmd::AutoCmd object represents.

Pascal
function SetName(const name: String&): AutoCmd&;
C++
AutoCmd& SetName(const String& name);

Use System::AutoCmd::SetName to associate the System::AutoCmd::AutoCmd object with a specific method on an Automation interface. The name parameter is the name of the interface method. 

Typically, the System::AutoCmd::AutoCmd constructor specifies the name of the method. Use System::AutoCmd::SetName to change the method that the object represents. 

 

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