Windows Dev Center

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.

File.Open Method

Opens a FileStream on the specified path.

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 Static member Open(String, FileMode) Opens a FileStream on the specified path with read/write access.
Public method Static member Open(String, FileMode, FileAccess) Opens a FileStream on the specified path, with the specified mode and access.
Public method Static member Open(String, FileMode, FileAccess, FileShare) Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option.
Top

Community Additions

Show:
© 2015 Microsoft