RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AutoCmd::AutoCmd Constructor (AutoCmd&)

System::AutoCmd::Creates an instance of System::AutoCmd::AutoCmd for a specified method.

Pascal
constructor Create(const name: String&);
constructor Create(const src: AutoCmd&);
C++
AutoCmd(const String& name);
AutoCmd(const AutoCmd& src);

System::AutoCmd::AutoCmd has two constructors: a version that takes the name of the method it represents, and a copy constructor. When creating a new System::AutoCmd::AutoCmd object for a method, the name parameter must be the same as the name of the method as it appears in the interface declaration. 

 

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