Method CopyTo
CopyTo(T*, int, int)
Copy the content of this list into another buffer in memory.
Safety:
- The destination must have enough memory to receive the copied data.
Declaration
public void CopyTo(T* dstBuffer, int startDstIndex, int copyCount)
Parameters
Type | Name | Description |
---|---|---|
T* | dstBuffer | The destination buffer of the copy operation. |
int | startDstIndex | The index of the first element that will be copied in the destination buffer. |
int | copyCount | The number of item to copy. |