Partager via


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
int IgnoreNextFileChange(
    IVsTextBuffer pBuffer
)
int IgnoreNextFileChange(
    [InAttribute] IVsTextBuffer^ pBuffer
)
abstract IgnoreNextFileChange : 
        pBuffer:IVsTextBuffer -> int
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

Microsoft.VisualStudio.TextManager.Interop Namespace