[This is preliminary documentation and is subject to change.]

Writes content of Stream to Stream

Namespace: Tools.IOt
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static void Write(
	this Stream Target,
	BinaryReader Source
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub Write ( _
	Target As Stream, _
	Source As BinaryReader _
)
Visual C++
[ExtensionAttribute]
public:
static void Write(
	Stream^ Target, 
	BinaryReader^ Source
)
F#
static member Write : 
        Target:Stream * 
        Source:BinaryReader -> unit 
JScript
public static function Write(
	Target : Stream, 
	Source : BinaryReader
)

Parameters

Target
Type: System.IO..::..Stream
Target to write content of Source to
Source
Type: Tools.IOt..::..BinaryReader
Contains data to write to Target

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Stream. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionSource or Target is null
System.IO..::..IOExceptionAn IO error occurs
System..::..NotSupportedExceptionSource does not support reading or Target does not suport writing.
System..::..ObjectDisposedExceptionSource or Target was cloased

See Also