System.IO.FileInfo.Open Method

Opens a file in the specified mode.

Syntax

public FileStream Open (FileMode mode)

Parameters

mode
A System.IO.FileMode constant specifying the mode (for example, Open or Append) in which to open the file.

Returns

A file opened in the specified mode, with read/write access and unshared.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0