共用方式為


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 安全性

請參閱

參考

ModelingErrorListProvider 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間