ITMSFNCBaseCollectionIO.AddItem Method
Creates a new item in the collection that corresponds to the given source object and returns it.
API unit family: TMSFNCPersistence
Declaring type: ITMSFNCBaseCollectionIO
Syntax
function AddItem(const AObject: TObject): TCollectionItem;
Parameters
| Name | Description |
|---|---|
AObject |
Source object whose data will populate the new collection item. |
Returns
The newly added TCollectionItem that was inserted into the collection.