Muokkaa

Jaa


FileInfo.Open Method

Definition

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