共用方式為


IVsTextScanner.CloseScan 方法

關閉 [掃描的緩衝區,並重新啟用寫入至緩衝區。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Function CloseScan As Integer
int CloseScan()
int CloseScan()
abstract CloseScan : unit -> int
function CloseScan() : int

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsTextScanner::CloseScan();

提供可寫入的緩衝區的實作會使用這個方法,以重新啟用寫入之後寫入鎖定放在這個介面的緩衝區。

.NET Framework 安全性

請參閱

參考

IVsTextScanner 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間