CopyTo(Byte[],Int32) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Copies all the elements of the current one-dimensional array to the specified one-dimensional array starting at
the specified destination array index. The index is specified as a 32-bit integer.
public:
void CopyTo(
array<byte>^ array,
int index
)
Parameters
- array
- The one-dimensional array that is the destination of the elements copied from the current PubSub message buffer.
- index
- A 32-bit integer that represents the index in array at which copying begins.