AlgorithmsCopyT Method (IEnumerableT, T, Int32, Int32) |
Copies at most count items from the collection source to the array dest, starting
at the index destIndex. The source collection must not be
the destination array or part thereof.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static void Copy<T>(
IEnumerable<T> source,
T[] dest,
int destIndex,
int count
)
public:
generic<typename T>
static void Copy(
IEnumerable<T>^ source,
array<T>^ dest,
int destIndex,
int count
)
Parameters
- source
- Type: System.Collections.GenericIEnumerableT
The collection that provide the source items. - dest
- Type: T
The array to store the items into. - destIndex
- Type: SystemInt32
The index to begin copying items to. - count
- Type: SystemInt32
The maximum number of items to copy. The array must be large enought to fit this number of items.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.Copy``1(System.Collections.Generic.IEnumerable{``0},``0[],System.Int32,System.Int32)"]
Exceptions
See Also