Files Collection
The Files collection represents the collection of all the files in a Folder object. Its properties are shown in Table 19.5.
Table 19.5. Files Collection Properties
|
Property |
Description |
|---|---|
|
Count |
The total number of files in the collection. |
|
Item |
Retrieves a particular file from the collection. Again, the Item property is similar to the same property of the Application and Session Contents collections. You can retrieve a specific File object using its index in the collection or its name. For example, either of the following two lines will work:
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access