Adds the specified document to the mapping folder of the project's root.
AddFile(in i_strFileName:String) -> ProjectItem |
Name |
Type |
Description |
---|---|---|
i_strFileName |
String |
Specifies the path of the document to add. |
Error code |
Description |
---|---|
1500 |
The object is no longer valid. |
1501 |
Invalid address for the return parameter was specified. |
1705 |
Mapping could not be assigned to project. The file does not exist or is not a MapForce mapping. Maybe the file is already assigned to the target folder. |