IVsFullTextScanner.OpenFullTextScan 方法
開啟 [掃描的緩衝區。
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
Function OpenFullTextScan As Integer
int OpenFullTextScan()
int OpenFullTextScan()
abstract OpenFullTextScan : unit -> int
function OpenFullTextScan() : int
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
COM 簽章
從 textmgr.idl:
HRESULT IVsFullTextScanner::OpenFullTextScan();
這個方法鎖定緩衝區,並不會回收傳遞,也就是大量的資源。 有鑑於此,請勿使用此方法在QueryStatus處理常式或另一種快速處理大量案例。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。