Internet Direct (Indy)
Home
PreviousUpNext
TIdFSPListItems.Add Method

Creates and stores a new entry in the collection.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.