scripting:api:project:is-file-in-project

IsFileInProject

Method of IProject

Checks if file is in project

var pbFound = Project.IsFileInProject(strFileName);

==== Visual Basic Script ====

pbFound = Project.IsFileInProject strFileName

==== C++ ====

VARIANT_BOOL bFound;
HRESULT hr = Project.IsFileInProject(strFileName, &bFound);

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