共用方式為


IVsTextManager.IgnoreNextFileChange(IVsTextBuffer) Method

Definition

Notifies that the next file change is to be ignored.

public:
 int IgnoreNextFileChange(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer);
public:
 int IgnoreNextFileChange(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer);
int IgnoreNextFileChange(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer const & pBuffer);
public int IgnoreNextFileChange (Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer pBuffer);
abstract member IgnoreNextFileChange : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer -> int
Public Function IgnoreNextFileChange (pBuffer As IVsTextBuffer) As Integer

Parameters

pBuffer
IVsTextBuffer

[in] Pointer to the IVsTextBuffer interface.

Returns

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.

Applies to