IVsTextManager.IgnoreNextFileChange Method

Notifies that the next file change is to be ignored.

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

Syntax

'Declaration
Function IgnoreNextFileChange ( _
    pBuffer As IVsTextBuffer _
) As Integer
'Usage
Dim instance As IVsTextManager 
Dim pBuffer As IVsTextBuffer 
Dim returnValue As Integer 

returnValue = instance.IgnoreNextFileChange(pBuffer)
int IgnoreNextFileChange(
    IVsTextBuffer pBuffer
)
int IgnoreNextFileChange(
    [InAttribute] IVsTextBuffer^ pBuffer
)
function IgnoreNextFileChange(
    pBuffer : IVsTextBuffer
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextManager::IgnoreNextFileChange(
   [in] IVsTextBuffer *pBuffer
);

This method has a four-second timeout.

.NET Framework Security

See Also

Reference

IVsTextManager Interface

IVsTextManager Members

Microsoft.VisualStudio.TextManager.Interop Namespace