IVsIntellisenseProjectEventSink.OnCodeFileChange(String, String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Chamado quando o arquivo de código-fonte é alterado.
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
Parâmetros
- pszOldCodeFile
- String
Caminho para o arquivo de código antigo.
- pszNewCodeFile
- String
Caminho para o novo arquivo de código.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.