Bearbeiten

Freigeben über


File.Create Method

Definition

Overloads

Create(String)
Create(String, Int32)
Create(String, Int32, FileOptions)

Create(String)

public:
 static System::IO::FileStream ^ Create(System::String ^ path);
public static System.IO.FileStream Create (string path);
static member Create : string -> System.IO.FileStream
Public Shared Function Create (path As String) As FileStream

Parameters

path
String

Returns

Applies to

Create(String, Int32)

public:
 static System::IO::FileStream ^ Create(System::String ^ path, int bufferSize);
public static System.IO.FileStream Create (string path, int bufferSize);
static member Create : string * int -> System.IO.FileStream
Public Shared Function Create (path As String, bufferSize As Integer) As FileStream

Parameters

path
String
bufferSize
Int32

Returns

Applies to

Create(String, Int32, FileOptions)

public:
 static System::IO::FileStream ^ Create(System::String ^ path, int bufferSize, System::IO::FileOptions options);
public static System.IO.FileStream Create (string path, int bufferSize, System.IO.FileOptions options);
static member Create : string * int * System.IO.FileOptions -> System.IO.FileStream
Public Shared Function Create (path As String, bufferSize As Integer, options As FileOptions) As FileStream

Parameters

path
String
bufferSize
Int32
options
FileOptions

Returns

Applies to