scripting:api:project:main-file

MainFile

Property of IProject

Main File path

Read-Only Property of type BSTR

var sPathName = Project.MainFile;

==== Visual Basic Script ====

sPathName = Project.MainFile

==== C++ ====

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

===== See Also ===== IProject