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

声明
Function CloseScan As Integer
用法
Dim instance As IVsTextScanner
Dim returnValue As Integer

returnValue = instance.CloseScan()
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

IVsTextScanner Members

Microsoft.VisualStudio.TextManager.Interop Namespace