Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== IsFileInProject ====== Method of [[:scripting:api:project:start|IProject]] ===== Description ===== Checks if file is in project ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strFileName** ==== Return Value ==== * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **pbFound** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pbFound = Project.IsFileInProject(strFileName); </code>==== Visual Basic Script ==== <code vb> pbFound = Project.IsFileInProject strFileName </code>==== C++ ==== <code cpp> VARIANT_BOOL bFound; HRESULT hr = Project.IsFileInProject(strFileName, &bFound); </code>===== See Also ===== [[:scripting:api:project:start|IProject]] ~~NOTOC~~