次の方法で共有


VsTextPackageClass.AdjustFileChangeIgnoreCount(IVsTextBuffer, Int32) Method

Definition

Increases or decreases the ignore count for file changes.

public:
 virtual int AdjustFileChangeIgnoreCount(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, int fIgnore) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::AdjustFileChangeIgnoreCount;
public:
 virtual int AdjustFileChangeIgnoreCount(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, int fIgnore);
public:
 virtual int AdjustFileChangeIgnoreCount(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, int fIgnore) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::AdjustFileChangeIgnoreCount;
 virtual int AdjustFileChangeIgnoreCount(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer const & pBuffer, int fIgnore);
public virtual int AdjustFileChangeIgnoreCount (Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer pBuffer, int fIgnore);
abstract member AdjustFileChangeIgnoreCount : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * int -> int
override this.AdjustFileChangeIgnoreCount : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * int -> int
Public Overridable Function AdjustFileChangeIgnoreCount (pBuffer As IVsTextBuffer, fIgnore As Integer) As Integer

Parameters

pBuffer
IVsTextBuffer

[in] Pointer to the IVsTextBuffer interface for which to set the ignore count.

fIgnore
Int32

[in] If true, then the ignore count is increased by a value of one. If false, then the ignore count is decreased by a value of one for the referenced buffer.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to