FileCreate Method (String, Int32) |
Creates or overwrites the specified file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static FileStream Create(
string path,
int bufferSize
)
Public Shared Function Create (
path As String,
bufferSize As Integer
) As FileStream
public:
static FileStream^ Create(
String^ path,
int bufferSize
)
static member Create :
path : string *
bufferSize : int -> FileStream
Parameters
- path
- Type: SystemString
The name of the file. - bufferSize
- Type: SystemInt32
The number of bytes buffered for reads and writes to the file.
Return Value
Type:
FileStream
A
FileStream with the specified buffer size that provides read/write access to the file specified in
path.
See Also