FileCollection.AsString Property

[Read/Write] This property sets or returns the list of file names in the FileCollection as a delimited string. This is useful for passing the contents of the collection across HTTP requests.

Syntax

object AsString [ get, set ]

Example

' This example adds two files to a file collection and then displays the number
' of files in the collection. Finally, it displays the files in the collection
' as a delimited string.
 
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"
 
Response.Write fc.Count & "<br>"
Response.Write fc.AsString