FileCollection.Count Property
[Read-only] This property returns the number of file names in the FileCollection.
Syntax
int Count [ get ]
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