IVsTextScanner.OpenScan Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens the text buffer for scanning.
public:
int OpenScan();
public:
int OpenScan();
int OpenScan();
public int OpenScan ();
abstract member OpenScan : unit -> int
Public Function OpenScan () 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::OpenScan();
This method locks the buffer and does a garbage-collection pass, which is expensive, so one should not use this in a QueryStatus
handler or other speed-intensive scenario.