Writes data to the stream..
[Visual Basic] Overrides Public Function Write( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer _ ) As Integer [C#] public override int Write( byte[] buffer, int offset, int count ); [C++] public: override int Write( unsigned char* buffer[], int offset, int count ); [JScript] public override function Write( buffer : Byte[], offset : int, count : int ) : int;
The number of bytes written to the stream.
Exception Type | Condition |
---|---|
System.IOException | The number of bytes written to the stream does not equal count. |
NetworkStream Class | NetworkStream Members | System.Net.Sockets Namespace