[This is preliminary documentation and is subject to change.]
Copies the elements of the ICollection to a strong-typed BaseComparator[],
starting at a particular BaseComparator[] index.
| C# | Visual Basic | Visual C++ |
public void CopyTo( BaseComparator[] array, int index )
Public Sub CopyTo ( _ array As BaseComparator(), _ index As Integer _ )
public: void CopyTo( array<BaseComparator^>^ array, int index )
- array (array< BaseComparator >[]()[])
- The one-dimensional BaseComparator[] that is the destination of the elements copied from ICollection. The BaseComparator[] must have zero-based indexing.
- index (Int32)
- The zero-based index in array at which copying begins.
Provides the strongly typed member for ICollection.