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
'Declaration
Function CloseScan As Integer
'Usage
Dim instance As IVsTextScanner
Dim returnValue As Integer
returnValue = instance.CloseScan()
int CloseScan()
int CloseScan()
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
- 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.