ModelingErrorListProvider.SuspendRefresh 方法
防止更新同步的項目加入每次的錯誤清單。 呼叫 SuspendRefresh,才能將大量的項目新增到 [錯誤清單會導致較佳的效能。
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)
語法
'宣告
Public Sub SuspendRefresh
public void SuspendRefresh()
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。