Export (0) Print
Expand All

FileStream Properties

The FileStream type exposes the following members.

  Name Description
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 Handle Obsolete. Gets the operating system file handle for the file that the current FileStream object encapsulates.
Public property IsAsync Gets a value indicating whether the FileStream was opened asynchronously or synchronously.
Public property Length Gets the length in bytes of the stream. (Overrides Stream.Length.)
Public property Name Gets the name of the FileStream 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 SafeFileHandle Gets a SafeFileHandle object that represents the operating system file handle for the file that the current FileStream object encapsulates.
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