TextWriter.TextWriter

Overview | Methods | This Package | All Packages

TextWriter.TextWriter

Creates a TextWriter object.

Syntax

public TextWriter( IByteStream stream )

public TextWriter( IByteStream stream, int codePage )

public TextWriter( IByteStream stream, int codePage, int bufferSize )

public TextWriter( String path )

public TextWriter( String path, int codePage )

public TextWriter( String path, int codePage, int bufferSize )

Parameters

stream

The IByteStream object to write to.

codePage

The code page to use when converting Unicode characters to output characters. This parameter must be a value from the CodePage enumeration or the identifier of a code page that is supported by the system.

bufferSize

Output buffer size in characters. If no value is specified for this parameter, the buffer size is set to 1024 characters.

path

The name of the file to create.