RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebRequestFiles.Items Property

Lists the uploaded files in the collection.

Pascal
property Items [I: Integer]: TAbstractWebRequestFile;
C++
__property TAbstractWebRequestFile Items[int I];

Read Items to access the descriptions of the individual uploaded files in the collection. 

I is the index of the file to access, where 0 indicates the first file, 1 indicates the second file, and so on. The value of I must be less than the value of the Count property.

Note: Items is the default property of TAbstractWebRequestFiles. This means that the property name can be omitted when using this property. Thus, the line
Note: Upload := WebContext.Request.Files.Items[0];
Note: can also be written
Note: Upload := WebContext.Request.Files[0];
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!