Inserts the specified System.Web.ParserError object into the collection at the specified index.
- error
- Documentation for this section has not yet been entered.
- index
- The index within the collection at which to insert the System.Web.ParserError.
Use the ParserErrorCollection.Insert(int, ParserError) method to insert an existing System.Web.ParserError object at a particular index within the collection.
You cannot add the same System.Web.ParserError object to the collection more than once. When you call the ParserErrorCollection.Insert(int, ParserError) method by using a System.Web.ParserError that is already in the collection, the insertion fails. Use the ParserErrorCollection.Contains(ParserError) method before the insertion to determine whether a particular System.Web.ParserError is already in the collection. To reposition a System.Web.ParserError within the collection, you must first remove it by using the ParserErrorCollection.Remove(ParserError) method and then insert it at the desired index by using ParserErrorCollection.Insert(int, ParserError).