ModelingDocData.AddErrorListItem 方法

添加可用于文档的错误或警告的信息。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Public Overridable Sub AddErrorListItem ( _
    task As ModelingErrorListItem _
)
public virtual void AddErrorListItem(
    ModelingErrorListItem task
)

参数

备注

错误消息和警告消息出现在 错误表 窗口。

.NET Framework 安全性

请参见

参考

ModelingDocData 类

Microsoft.VisualStudio.Modeling.Shell 命名空间