System::String::CopyTo-methode

String::CopyTo method

Kopieert stringtekens naar bestaande array‑elementen. Er wordt niet herschaald.

void System::String::CopyTo(int sourceIndex, const ArrayPtr<char_t> &destination, int destinationIndex, int count) const
ParameterTypeBeschrijving
sourceIndexintIndex in de string om vanaf te lezen.
doelconst ArrayPtr<char_t>&Doel-array.
destinationIndexintIndex in de array om vanaf te schrijven.
countintAantal tekens om te kopiëren.

Zie ook