VsTextManagerClass.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:
virtual int SuspendFileChangeAdvise(System::String ^ pszFileName, int fSuspend) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::SuspendFileChangeAdvise;
public:
virtual int SuspendFileChangeAdvise(System::String ^ pszFileName, int fSuspend);
public:
virtual int SuspendFileChangeAdvise(Platform::String ^ pszFileName, int fSuspend) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::SuspendFileChangeAdvise;
virtual int SuspendFileChangeAdvise(std::wstring const & pszFileName, int fSuspend);
public virtual int SuspendFileChangeAdvise (string pszFileName, int fSuspend);
abstract member SuspendFileChangeAdvise : string * int -> int
override this.SuspendFileChangeAdvise : string * int -> int
Public Overridable 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.