OpenFile Method

IsolatedStorageFile.OpenFile Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Opens a file at a specified path using the specified sharing and access options.

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

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

© 2017 Microsoft