This documentation is archived and is not being maintained.

BinaryWriter.OutStream Field

Holds the underlying stream.

[Visual Basic]
Protected OutStream As Stream
[C#]
protected Stream OutStream;
[C++]
protected: Stream* OutStream;
[JScript]
protected var OutStream : Stream;

Remarks

The following table lists examples of other typical or related I/O tasks.

To do this... See the example in this topic...
Create a text file. Writing Text to a File
Write to a text file. Writing Text to a File
Read from a text file. Reading Text from a File
Read from a binary file. Reading and Writing to a Newly Created Data File
Write to a binary file. Reading and Writing to a Newly Created Data File

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

BinaryWriter Class | BinaryWriter Members | System.IO Namespace | Working with I/O | Reading Text from a File | Writing Text to a File

Show: