FileStream Properties

July 28, 2014

The FileStream type exposes the following members.

  NameDescription
Public property CanRead Gets a value indicating whether the current stream supports reading. (Overrides Stream.CanRead.)
Public property CanSeek Gets a value indicating whether the current stream supports seeking. (Overrides Stream.CanSeek.)
Public property CanTimeout Gets a value that determines whether the current stream can time out. (Inherited from Stream.)
Public property CanWrite Gets a value indicating whether the current stream supports writing. (Overrides Stream.CanWrite.)
Public property Length Gets the length in bytes of the stream. (Overrides Stream.Length.)
Public property Name Gets the name of the file stream that was passed to the constructor.
Public property Position Gets or sets the current position of this stream. (Overrides Stream.Position.)
Public property ReadTimeout Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.)
Public property WriteTimeout Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.)
Top

Show:
© 2014 Microsoft