IVsTextScanner.CloseScan 方法

定義

關閉緩衝區以進行掃描,並重新啟用寫入至緩衝區。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

傳回

Int32

如果方法成功,它會傳回 S_OKIf the method succeeds, it returns S_OK. 如果方法失敗,則會傳回錯誤碼。If it fails, it returns an error code.

備註

COM 簽章COM Signature

從 textmgr .idl: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.

適用於