System::Text::StringBuilder::CopyTo method

StringBuilder::CopyTo 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)
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