CollectionBase
T
CopyTo Method
|
Copies the elements of the collection to an array, starting at a particular array index.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void CopyTo(
T[] array,
int arrayIndex
)
Public Sub CopyTo (
array As T(),
arrayIndex As Integer
)
public:
virtual void CopyTo(
array<T>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array : 'T[] *
arrayIndex : int -> unit
override CopyTo :
array : 'T[] *
arrayIndex : int -> unit
Parameters
-
array
-
Type:
T
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
-
arrayIndex
-
Type:
System
Int32
The zero-based index in array at which copying begins.
Implements
ICollection
T
CopyTo(
T
, Int32)
See Also