FileCollection.Item Method
This method returns the specified string from the collection.
Syntax
object Item ( int index )
| Parameters | Description |
| index | The 0-based index representing the location of the item to return. |
Return Value
The specified string from the collection.
Example
' This example adds two files to a file collection and then loops through the
' file collection and displays the path and file name for each file.
Dim fc
Set fc = Server.CreateObject("HotDocs_Online.FileCollection")
fc.Add "c:\inetpub\wwwroot\files\demoempl.docx"
fc.Add "c:\inetpub\wwwroot\files\clauses.docx"
for i = 0 to (fc.Count - 1)
Response.Write fc.Item(i) & "<br>"
next