- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
M_CodeJam_IO_TempData_CreateFile_1
        andrewvk edited this page Jul 1, 2016 
        ·
        9 revisions
      
    Creates temp file and return disposable handle.
Namespace: CodeJam.IO
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.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.TempFileF#
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. |