IVsIntellisenseProjectEventSink.OnCodeFileChange(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the source code file changes.
public:
int OnCodeFileChange(System::String ^ pszOldCodeFile, System::String ^ pszNewCodeFile);
public:
int OnCodeFileChange(Platform::String ^ pszOldCodeFile, Platform::String ^ pszNewCodeFile);
int OnCodeFileChange(std::wstring const & pszOldCodeFile, std::wstring const & pszNewCodeFile);
public int OnCodeFileChange (string pszOldCodeFile, string pszNewCodeFile);
abstract member OnCodeFileChange : string * string -> int
Public Function OnCodeFileChange (pszOldCodeFile As String, pszNewCodeFile As String) As Integer
Parameters
- pszOldCodeFile
- String
Path to the old code file.
- pszNewCodeFile
- String
Path to the new code file.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.