ErrorManager.Remove 方法 (IList<DataSchemaError>, Object)
从 Visual Studio 的**“错误列表”**窗口中移除指定的 DataSchemaError 对象。
命名空间: Microsoft.Data.Schema
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Sub Remove ( _
errorsToRemove As IList(Of DataSchemaError), _
category As Object _
)
public void Remove(
IList<DataSchemaError> errorsToRemove,
Object category
)
public:
void Remove(
IList<DataSchemaError^>^ errorsToRemove,
Object^ category
)
member Remove :
errorsToRemove:IList<DataSchemaError> *
category:Object -> unit
public function Remove(
errorsToRemove : IList<DataSchemaError>,
category : Object
)
参数
- errorsToRemove
类型:System.Collections.Generic.IList<DataSchemaError>
DataSchemaError 对象的 IList<T>,这些对象表示要移除的错误。
- category
类型:System.Object
一个 Object,表示用于对错误进行分类的文档类型或对象类型。内部类别将表示为 Guid 字符串。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。