Topic Path: Symbol Reference > Classes > TIdFSPListItems Class > TIdFSPListItems Methods > Add Method
ContentsIndexHome
PreviousUpNext
TIdFSPListItems.Add Method

Creates and stores a new entry in the collection.

function Add: TIdFSPListItem;

TIdFSPListItem - Item added to the collection.

Add is a TIdFSPListItem function used to create and store a new entry in the collection. 

Add calls the inherited Add method, and ensures that the return value is cast to the TIdFSPListItem data type used for Items in the collection. 

Assign values for properties in the collection item after calling Add. 

Use the ParseEntries method to create and store one ore more items in the collection using the content returned in an FSP protocol reponse. 

Use IndexOf to determine the ordinal position of a specific item in the collection. 

Use Items to access items in the collection by their ordinal position.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.