'Declaration
Public Sub CopyTo( _ ByVal array() As SubItem, _ ByVal arrayIndex As Integer _ )
'Usage
Dim instance As SubItemCollection Dim array() As SubItem Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex)
public void CopyTo( SubItem[] array, int arrayIndex )
Parameters
- array
- The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing.
- arrayIndex
- The zero-based index in array at which copying begins.