ParserErrorCollection Class
Assembly: System.Web (in system.web.dll)
The ParserErrorCollection class provides methods and properties that you can use to manage a collection of ParserError objects. For example, you can add a set of parser errors to a collection upon parsing while using a custom BuildProvider object to report all parse exceptions caught during parsing.
To add parser errors to, remove them from, or locate them in a collection, use the following:
-
The Add method to add a single ParserError object to the collection.
-
The AddRange methods to add multiple ParserError objects to the collection.
-
Both the Insert method and the Item property, which is the ParserErrorCollection indexer, to add a single ParserError object to the collection at the specified index.
Additionally, you can use the ParserErrorCollection class to do the following:
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.