Compartilhar via


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)

Syntax

'Declaração
Function CloseScan As Integer
int CloseScan()
int CloseScan()
abstract CloseScan : unit -> int 
function CloseScan() : int

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 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.

.NET Framework Security

See Also

Reference

IVsTextScanner Interface

Microsoft.VisualStudio.TextManager.Interop Namespace