Compartilhar via


VsTextPackageClass.SuspendFileChangeAdvise(String, Int32) Method

Definition

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.

Implements

Applies to