Adds a
Document with the provided parameters to the collection.
Parameters
- filename
- A string which represents the full path to the file.
- password
- A string which represents the password to open the file with. A NULL string indicates an unprotected document.
Return Value
An integer value which represents the index location of where the new file is in the collection.