-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_IO_TempData_CreateFile_2
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Creates temp file and return disposable handle.
Namespace: CodeJam.IO
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static TempData.TempFile CreateFile(
string dirPath,
string fileName
)
VB
Public Shared Function CreateFile (
dirPath As String,
fileName As String
) As TempData.TempFile
F#
static member CreateFile :
dirPath : string *
fileName : string -> TempData.TempFile
- dirPath
- Type: System.String
The dir path. - fileName
- Type: System.String
Name of the temp file.
Type: TempData.TempFile
Temp file to be freed on dispose.
Exception | Condition |
---|---|
ArgumentNullException | dirPath is null. |