ReadOnlyListBaseTCopyTo Method (Int32, T, Int32, Int32) |
Copies a range of elements from the list to array,
starting at arrayIndex.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual void CopyTo(
int index,
T[] array,
int arrayIndex,
int count
)
public:
virtual void CopyTo(
int index,
array<T>^ array,
int arrayIndex,
int count
)
Parameters
- index
- Type: SystemInt32
The starting index in the source list of the range to copy. - array
- Type: T
The array to copy to. This array must have a size
that is greater than or equal to Count + arrayIndex. - arrayIndex
- Type: SystemInt32
The starting index in array
to copy to. - count
- Type: SystemInt32
The number of items to copy.
See Also