IVsTextScanner.CloseScan Method

Definition

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

public:
 int CloseScan();
public:
 int CloseScan();
int CloseScan();
public int CloseScan ();
abstract member CloseScan : unit -> int
Public Function CloseScan () As Integer

Returns

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.

Applies to