- error
- Documentation for this section has not yet been entered.
The index of the value within the collection; otherwise, -1 if the value is already in the collection.
Use the ParserErrorCollection.Add(ParserError) method to add an existing System.Web.ParserError object to the collection. You cannot add the same System.Web.ParserError object to the collection more than once. When you call the ParserErrorCollection.Add(ParserError) method using a System.Web.ParserError object that is already in the collection, the addition fails and -1 is returned.
To add multiple objects to the collection, use the ParserErrorCollection.AddRange(ParserErrorCollection) method.