[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Copies a range of text to a character array.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
void CopyTo( int sourceIndex, char destination, int destinationIndex, int count )
destination is null.
sourceIndex is less than zero or greater than the length of the snapshot, or count is less than zero, or sourceIndex plus count is greater than the length of the snapshot, or destinationIndex is less than zero, or destinationIndex plus count is greater than the length of destination.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.