Condividi tramite


File.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 a trusted application, 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 memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Open(String, FileMode) When it is called by trusted applications, opens a FileStream on the specified path with read/write access.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Open(String, FileMode, FileAccess) When it is called by trusted applications, opens a FileStream on the specified path, with the specified mode and access.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Open(String, FileMode, FileAccess, FileShare) When it is called by trusted applications, 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