VsTextPackageClass::AdjustFileChangeIgnoreCount Method (IVsTextBuffer^, Int32)

 

Increases or decreases the ignore count for file changes.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public:
virtual int AdjustFileChangeIgnoreCount(
	IVsTextBuffer^ pBuffer,
	int fIgnore
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextBuffer^

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

fIgnore
Type: System::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.

Return Value

Type: System::Int32

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

Return to top
Show: