BuildMaster SDK Reference
Version:

CopyTo(System.IO.TextReader reader, System.IO.TextWriter writer, int bufferSize) Method

Copies the text from reader to writer.

Syntax

public static void CopyTo(System.IO.TextReader reader, System.IO.TextWriter writer, int bufferSize)

Parameters

reader
Type: System.IO.TextReader

The source System.IO.TextReader.

writer
Type: System.IO.TextWriter

The destination System.IO.TextWriter.

bufferSize
Type: int

The size of the buffer to use in characters.

Exceptions

System.ArgumentNullException

reader is null (Nothing in Visual Basic) or writer is null (Nothing in Visual Basic).

System.ArgumentOutOfRangeException

bufferSize is invalid.