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
'宣告
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
- pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
[in] Pointer to the IVsTextBuffer interface.
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
- 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.