System.Web.ParserErrorCollection.CopyTo Method

Copies the System.Web.ParserError objects in the collection to a compatible one-dimensional array, starting at the specified index of the target array.

Syntax

public void CopyTo (ParserError[] errors, int index)

Parameters

errors
Documentation for this section has not yet been entered.
index
The first index within the array to which the System.Web.ParserError is copied.

Remarks

Use the ParserErrorCollection.CopyTo(ParserError[], int) method to copy the System.Web.ParserError objects in a collection (including the item references they contain) to a compatible array, starting at a specified index. This is useful when you want to sort the System.Web.ParserError objects in the collection by using the erload:System.Array.Sort method. To do this:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0