Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileStream Properties

The properties of the FileStream class are listed here. For a complete list of FileStream class members, see the FileStream Members topic.

Public Properties

public propertyCanRead

Supported by the .NET Compact Framework.

Overridden. Gets a value indicating whether the current stream supports reading.
public propertyCanSeek

Supported by the .NET Compact Framework.

Overridden. Gets a value indicating whether the current stream supports seeking.
public propertyCanWrite

Supported by the .NET Compact Framework.

Overridden. Gets a value indicating whether the current stream supports writing.
public propertyHandle Gets the operating system file handle for the file that the current FileStream object encapsulates.
public propertyIsAsync

Supported by the .NET Compact Framework.

Gets a value indicating whether the FileStream was opened asynchronously or synchronously.
public propertyLength

Supported by the .NET Compact Framework.

Overridden. Gets the length in bytes of the stream.
public propertyName

Supported by the .NET Compact Framework.

Gets the name of the FileStream that was passed to the constructor.
public propertyPosition

Supported by the .NET Compact Framework.

Overridden. Gets or sets the current position of this stream.

See Also

FileStream Class | System.IO Namespace

Show:
© 2017 Microsoft