This documentation is archived and is not being maintained.

FileInfo.Open Method

Opens a file with various read/write and sharing privileges.

Name Description
FileInfo.Open (FileMode) Opens a file in the specified mode.

Supported by the .NET Compact Framework.

FileInfo.Open (FileMode, FileAccess) Opens a file in the specified mode with read, write, or read/write access.

Supported by the .NET Compact Framework.

FileInfo.Open (FileMode, FileAccess, FileShare) Opens a file in the specified mode with read, write, or read/write access and the specified sharing option.

Supported by the .NET Compact Framework.

Show: