Vcl.CmAdmCtl.TCOMAdminCatalogCollection.Populate
Delphi
procedure Populate;
C++
void __fastcall Populate();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.CmAdmCtl.pas Vcl.CmAdmCtl.hpp |
Vcl.CmAdmCtl | TCOMAdminCatalogCollection |
Description
Fills the collection object with items from the catalog.
Call Populate to set the items of the collection to those currently saved for this collection in the COM+ catalog. When you first obtain an instance of TCOMAdminCatalogCollection, it does not yet contain any items, and you must call Populate to fill it with the associated items.
After making changes to the collection (such as adding or removing objects or changing object properties) are not saved to the COM+ catalog until you call the SaveChanges method. Thus, if you call Populate after making changes but before calling SaveChanges, all your changes are rolled back and the collection is restored to the state that is saved in the COM+ catalog.