FileInfo.Open Method

July 28, 2014

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

Show:
© 2014 Microsoft