次の方法で共有


IsolatedStorageFile.OpenFile Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 OpenFile(String, FileMode) Opens a file in the specified mode.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 OpenFile(String, FileMode, FileAccess) Opens a file in the specified mode with the specified file access.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 OpenFile(String, FileMode, FileAccess, FileShare) Opens a file in the specified mode with read, write, or read/write access and the specified sharing option.

Top