Share via


FileInfo.Open 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

When it is called by trusted applications, opens a file with various read/write and sharing privileges.

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 Open(FileMode) When it is called by trusted applications, opens a file in the specified mode.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Open(FileMode, FileAccess) When it is called by trusted applications, opens a file in the specified mode with read, write, or read/write access.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Open(FileMode, FileAccess, FileShare) When it is called by trusted applications, opens a file in the specified mode with read, write, or read/write access and the specified sharing option.

Top

See Also

Reference