scripting:api:project:main-file

MainFile

Property of IProject

Main File path

Read-Only Property of type BSTR

var sPathName = Project.MainFile;
sPathName = Project.MainFile
BSTR sPathName;
HRESULT hr = Project.get_MainFile(&sPathName);