[This is preliminary documentation and is subject to change.]
Puts local existing file into file system
Namespace: NFX.IO.FileSystemAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public FileSystemFile CreateFile(
string name,
string localFilePath,
bool readOnly = false
)
public FileSystemFile CreateFile(
string name,
string localFilePath,
bool readOnly = false
)
Public Function CreateFile (
name As String,
localFilePath As String,
Optional readOnly As Boolean = false
) As FileSystemFile
Public Function CreateFile (
name As String,
localFilePath As String,
Optional readOnly As Boolean = false
) As FileSystemFile
public:
FileSystemFile^ CreateFile(
String^ name,
String^ localFilePath,
bool readOnly = false
)
public:
FileSystemFile^ CreateFile(
String^ name,
String^ localFilePath,
bool readOnly = false
)
member CreateFile :
name : string *
localFilePath : string *
?readOnly : bool
(* Defaults:
let _readOnly = defaultArg readOnly false
*)
-> FileSystemFile
member CreateFile :
name : string *
localFilePath : string *
?readOnly : bool
(* Defaults:
let _readOnly = defaultArg readOnly false
*)
-> FileSystemFile
Parameters
- name
- Type:
System String
File system file name
- localFilePath
- Type:
System String
Local system file name
- readOnly (Optional)
- Type:
System Boolean
Indictaes whether the newly created file should be readonly
Return Value
Type:
FileSystemFileFileSystemFile instance