[ 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.
|OpenFile(String, FileMode)||Opens a file in the specified mode.|
|OpenFile(String, FileMode, FileAccess)||Opens a file in the specified mode with the specified file access.|
|OpenFile(String, FileMode, FileAccess, FileShare)||Opens a file in the specified mode with read, write, or read/write access and the specified sharing option.|