[]
Copies the entire StructList<T> to a compatible one-dimensional array, starting at the specified index of the target array.
public void CopyTo(T[] array, int arrayIndex)
Public Sub CopyTo(array As T(), arrayIndex As Integer)
| Type | Name | Description |
|---|---|---|
| T[] | array | The one-dimensional Array that is the destination of the elements copied from StructList<T>. |
| int | arrayIndex | The zero-based index in |
Copies a range of elements from the StructList<T> to a compatible one-dimensional array, starting at the specified index of the target array.
public void CopyTo(int index, T[] array, int arrayIndex, int count)
Public Sub CopyTo(index As Integer, array As T(), arrayIndex As Integer, count As Integer)
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index in the source StructList<T> at which copying begins. |
| T[] | array | The one-dimensional Array that is the destination of the elements copied from StructList<T>. |
| int | arrayIndex | The zero-based index in |
| int | count | The number of elements to copy. |