CopyTo()

StringBuilder::CopyTo(int, System::ArrayPtr<char_t> const&, int, int) method

Copies builder’s data into existing array positions.

void System::Text::StringBuilder::CopyTo(int sourceIndex, System::ArrayPtr<char_t> const &destination, int destinationIndex, int count)

Arguments

ParameterTypeDescription
sourceIndexintIndex in builder to start copying from.
destinationSystem::ArrayPtr<char_t> const&Destination array.
destinationIndexintIndex in destination array to start insertion at.
countintNumber of characters to copy.

See Also