[This is preliminary documentation and is subject to change.]
Namespace: Tools.IOtAssembly: 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
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Source or Target is null |
| System.IO..::..IOException | An IO error occurs |
| System..::..NotSupportedException | Source does not support reading or Target does not suport writing. |
| System..::..ObjectDisposedException | Source or Target was cloased |