ReadOnlyCollectionBaseTCopyTo Method |
Copies all the items in the collection into an array. Implemented by
using the enumerator returned from GetEnumerator to get all the items
and copy them to the provided array.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual void CopyTo(
T[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<T>^ array,
int arrayIndex
)
Parameters
- array
- Type: T
Array to copy to. - arrayIndex
- Type: SystemInt32
Starting index in array to copy to.
Implements
ICollectionTCopyTo(T, Int32)
See Also