IVsTextManager.SuspendFileChangeAdvise(String, Int32) 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.
Suspends file change notifications for a given file.
public:
int SuspendFileChangeAdvise(System::String ^ pszFileName, int fSuspend);
public:
int SuspendFileChangeAdvise(Platform::String ^ pszFileName, int fSuspend);
int SuspendFileChangeAdvise(std::wstring const & pszFileName, int fSuspend);
public int SuspendFileChangeAdvise (string pszFileName, int fSuspend);
abstract member SuspendFileChangeAdvise : string * int -> int
Public Function SuspendFileChangeAdvise (pszFileName As String, fSuspend As Integer) As Integer
Parameters
- pszFileName
- String
[in] File on which to suspend notification of changes made.
- fSuspend
- Int32
[in] true if change notification is suspended on the specified file name.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextManager::SuspendFileChangeAdvise(
[in] const WCHAR *pszFileName,
[in] BOOL fSuspend
);
Use this method to suspend external notification (for example, from source code control) that files have changed.