Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== MainFile ====== Property of [[:scripting:api:project:start|IProject]] ===== Description ===== Main File path ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:BSTR|BSTR]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var sPathName = Project.MainFile; </code>==== Visual Basic Script ==== <code vb> sPathName = Project.MainFile </code>==== C++ ==== <code cpp> BSTR sPathName; HRESULT hr = Project.get_MainFile(&sPathName); </code>===== See Also ===== [[:scripting:api:project:start|IProject]] ~~NOTOC~~