MainFile

Property of IProject

Description

Main File path

Property type

Read-Only Property of type BSTR

Syntax

JavaScript

var sPathName = Project.MainFile;

==== Visual Basic Script ====

sPathName = Project.MainFile

==== C++ ====

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

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