====== 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 ==== var sPathName = Project.MainFile; ==== Visual Basic Script ==== sPathName = Project.MainFile ==== C++ ==== BSTR sPathName; HRESULT hr = Project.get_MainFile(&sPathName); ===== See Also ===== [[:scripting:api:project:start|IProject]] ~~NOTOC~~