Share via


VsTextPackageClass.AdjustFileChangeIgnoreCount Method

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)

Syntax

'Declaration
Public Overridable Function AdjustFileChangeIgnoreCount ( _
    pBuffer As IVsTextBuffer, _
    fIgnore As Integer _
) As Integer
public virtual int AdjustFileChangeIgnoreCount(
    IVsTextBuffer pBuffer,
    int fIgnore
)
public:
virtual int AdjustFileChangeIgnoreCount(
    [InAttribute] IVsTextBuffer^ pBuffer, 
    [InAttribute] int fIgnore
)
abstract AdjustFileChangeIgnoreCount : 
        pBuffer:IVsTextBuffer * 
        fIgnore:int -> int  
override AdjustFileChangeIgnoreCount : 
        pBuffer:IVsTextBuffer * 
        fIgnore:int -> int
public function AdjustFileChangeIgnoreCount(
    pBuffer : IVsTextBuffer, 
    fIgnore : int
) : int

Parameters

  • 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.

Implements

IVsTextManager.AdjustFileChangeIgnoreCount(IVsTextBuffer, Int32)

.NET Framework Security

See Also

Reference

VsTextPackageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace