Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FileStream Properties

The FileStream type exposes the following members.

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CanRead Gets a value indicating whether the current stream supports reading. (Overrides Stream.CanRead.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CanSeek Gets a value indicating whether the current stream supports seeking. (Overrides Stream.CanSeek.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CanTimeout Gets a value that determines whether the current stream can time out. (Inherited from Stream.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework IsAsync Gets a value indicating whether the FileStream was opened asynchronously or synchronously.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Length Gets the length in bytes of the stream. (Overrides Stream.Length.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name Gets the name of the FileStream that was passed to the constructor.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Position Gets or sets the current position of this stream. (Overrides Stream.Position.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.