FileInfo.Open Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Open(FileMode) | |
Open(FileMode, FileAccess) | |
Open(FileMode, FileAccess, FileShare) |
Open(FileMode)
public:
System::IO::FileStream ^ Open(System::IO::FileMode mode);
public System.IO.FileStream Open (System.IO.FileMode mode);
member this.Open : System.IO.FileMode -> System.IO.FileStream
Public Function Open (mode As FileMode) As FileStream
Parameters
- mode
- FileMode
Returns
Applies to
Open(FileMode, FileAccess)
public:
System::IO::FileStream ^ Open(System::IO::FileMode mode, System::IO::FileAccess access);
public System.IO.FileStream Open (System.IO.FileMode mode, System.IO.FileAccess access);
member this.Open : System.IO.FileMode * System.IO.FileAccess -> System.IO.FileStream
Public Function Open (mode As FileMode, access As FileAccess) As FileStream
Parameters
- mode
- FileMode
- access
- FileAccess
Returns
Applies to
Open(FileMode, FileAccess, FileShare)
public:
System::IO::FileStream ^ Open(System::IO::FileMode mode, System::IO::FileAccess access, System::IO::FileShare share);
public System.IO.FileStream Open (System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share);
member this.Open : System.IO.FileMode * System.IO.FileAccess * System.IO.FileShare -> System.IO.FileStream
Public Function Open (mode As FileMode, access As FileAccess, share As FileShare) As FileStream
Parameters
- mode
- FileMode
- access
- FileAccess
- share
- FileShare
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.