RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebModuleList.Factory Property

Lists the Web module factories for all the Web modules available in the application.

Pascal
property Factory [I: Integer]: TAbstractWebModuleFactory;
C++
__property TAbstractWebModuleFactory Factory[int I];

Read Factory to access the factory objects that instantiate Web modules for the WebSnap application. Each factory object includes methods to create or (if an instance exists) access the corresponding Web module, as well as properties that provide information about the Web module it creates. 

Use the FactoryCount property in conjunction with Factory to iterate over all the Web module factory objects in the WebSnap application. 

I is the index of the factory object to read, where 0 identifies the first factory, 1 identifies the second factory, and so on, until FactoryCount – 1 identifies the last factory. 

 

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