Instantiated when a file is added to a project.
File |
Remarks
A file object is created and instantiated for each file added to a project. A file object provides an object reference to the file in the project, and allows you to determine information about the file and manipulate it through the File object properties and methods.
A project's files collection is composed of all the file objects in the project.
Note that a file object is a COM object, so assigning a file object reference to a memory variable creates a memory variable of class "Unknown Type."