Share via


Open Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

Overload List

  Name Description
Public methodStatic member Open(String, FileMode) Opens a FileStream on the specified path with read/write access.
Public methodStatic member Open(String, FileMode, FileAccess) Opens a FileStream on the specified path, with the specified mode and access.
Public methodStatic 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

See Also

Reference

File Class

System.IO Namespace