-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_IO_TempData_CreateFile_1
andrewvk edited this page Apr 22, 2016
·
9 revisions
[This is preliminary documentation and is subject to change.]
Creates temp file and return disposable handle.
Namespace: CodeJam.IO
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static TempData.TempFile CreateFile(
string dirPath,
string fileName = null
)
VB
Public Shared Function CreateFile (
dirPath As String,
Optional fileName As String = Nothing
) As TempData.TempFile
F#
static member CreateFile :
dirPath : string *
?fileName : string
(* Defaults:
let _fileName = defaultArg fileName null
*)
-> TempData.TempFile
- dirPath
- Type: System.String
The dir path. - fileName (Optional)
- Type: System.String
Name of the temp file.
Type: TempData.TempFile
Temp file to be freed on dispose.
Exception | Condition |
---|---|
ArgumentNullException | dirPath is null. |