AlgorithmsCopyT Method (IEnumerableT, IListT, Int32) |
Copies all of the items from the collection source to the list dest, starting
at the index destIndex. If necessary, the size of the destination list is expanded.
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,
IList<T> dest,
int destIndex
)
public:
generic<typename T>
static void Copy(
IEnumerable<T>^ source,
IList<T>^ dest,
int destIndex
)
Parameters
- source
- Type: System.Collections.GenericIEnumerableT
The collection that provide the source items. - dest
- Type: System.Collections.GenericIListT
The list to store the items into. - destIndex
- Type: SystemInt32
The index to begin copying items to.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.Copy``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IList{``0},System.Int32)"]
Exceptions
See Also