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

Adds a new form data field to the collection.

function Add: TIdFormDataField;

TIdFormDataField - The new form data field for the collection.

Add is a TIdFormDataField function used to add a new form data field to the collection. Add calls the inherited Add method, and ensures that the return value is cast to the TIdFormDataField type maintained by the collection. 

Add is called from TIdMultiPartFormDataStream methods like AddObject, AddFormField, and AddFile.

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