Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
- array
- The one-dimensional array that must have zero-based indexing and is the destination of the elements copied from the System.Web.SiteMapNodeCollection.
- index
- The zero-based index in array at which copying begins.
The SiteMapNodeCollection.CopyTo(SiteMapNode[], int) method delegates to the CollectionBase.List property, which accounts for the possible exceptions that are listed in "Exceptions."