IVsTextScanner::CloseScan Method ()

 

Closes the buffer for scanning and re-enables writing to the buffer.

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

int CloseScan()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextScanner::CloseScan();

Implementations that provide a writable buffer use this method to re-enable writing to the buffer following write-locks placed by this interface.

Return to top
Show: