Internet Direct (Indy)
Home
PreviousUpNext
TIdFormDataFields.Add Method

Adds a new form data field to the collection.

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

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.