Share via


FileStream.Write Method

Writes a block of bytes to this stream using data from a buffer.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public override void Write (
         byte array,
         int offset,
         int count
)

Parameters

  • array
    The buffer containing data to write to the stream.
  • offset
    The zero-based byte offset in array at which to begin copying bytes to the current stream.
  • count
    The number of bytes to be written to the current stream.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

FileStream Class
FileStream Members
System.IO Namespace