IBabelProject::SearchFile Method
Searches for a file within the local project settings.
HRESULT SearchFile (
BSTR fileName,
BSTR* filePath
);
Parameters
fileName
[in] File name to search for.filePath
[out] Returns the file path associated with the file name.
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method searches for a file within the local project settings. For example, a Visual C++ project will search the header files according to the search path that is specified in the project settings. See How to: Add Import Chasing to see how this method is used (as called from the StdService::searchFile method in the default Babel implementation class).