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
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.
Implements
IVsTextManager.AdjustFileChangeIgnoreCount(IVsTextBuffer, Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.