RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractScriptProducer.Create Constructor

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

Pascal
constructor Create(AWebModuleContext: TWebModuleContext; AStripParamQuotes: Boolean; AHandleTag: THandleTagProc; const AScriptEngine: string; ALocateFileService: ILocateFileService); virtual;
C++
virtual __fastcall TAbstractScriptProducer(TWebModuleContext AWebModuleContext, Boolean AStripParamQuotes, THandleTagProc AHandleTag, const AnsiString AScriptEngine, ILocateFileService ALocateFileService);

Do not create instances of Create. Instead, construct descendants of Create using the new keyword, passing any arguments for the descendant object's constructor.  

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!