RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TConnectionAdmin.Create Constructor

Constructs an object and initializes its data before the object is first used.

Pascal
constructor Create;
C++
__fastcall TConnectionAdmin();

System::TObject::Create constructs an object. The purpose, size, and behavior of objects differ greatly. The System::TObject::Create constructor defined by System::TObject allocates memory but does not initialize data. 

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!