Topic Path: Symbol Reference > Classes > TIdFormDataField Class > TIdFormDataField Properties > FieldStream Property
TIdFormDataField.FieldStream Property

TStream associated with the contents of the form data field.

property FieldStream: TIdStream;

FieldStream is a TStream property that represents an optional stream to use for the contents of the form data field. FieldStream accesses the object reference in FieldObject

Reading the value in FieldStream is valid only for TStream descendants stored in the FieldObject. Accessing a TStrings instance using FieldStream will raise an EIdInvalidObjectType exception. When FieldObject is unassigned, the value in FieldStream is Nil. 

Writing a value to FieldStream will store the TStream object reference in the FieldObject property.

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