ErrorManager.Add Method (IList<DataSchemaError>, Object)

Adds a collection of DataSchemaError objects to the Error List window of Visual Studio in the specified category.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Sub Add ( _
    errorsToAdd As IList(Of DataSchemaError), _
    category As Object _
)
public void Add(
    IList<DataSchemaError> errorsToAdd,
    Object category
)
public:
void Add(
    IList<DataSchemaError^>^ errorsToAdd, 
    Object^ category
)
member Add : 
        errorsToAdd:IList<DataSchemaError> * 
        category:Object -> unit 
public function Add(
    errorsToAdd : IList<DataSchemaError>, 
    category : Object
)

Parameters

  • category
    Type: System.Object
    An Object that represents the document type or object type to categorize the error. The internal categories are represented as Guid strings.

.NET Framework Security

See Also

Reference

ErrorManager Class

Add Overload

Microsoft.Data.Schema Namespace

DataSchemaError