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 (
         bytearray,
         intoffset,
         intcount
)

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, and 4.1.

See Also

Reference

FileStream Class
FileStream Members
System.IO Namespace