Interface IFile
Assembly: DotNetNuke.dll
Syntax
Methods
Copy(string, string, bool)
Declaration
void Copy(string sourceFileName, string destinationFileName, bool overwrite)
Parameters
Type |
Name |
Description |
string |
sourceFileName |
|
string |
destinationFileName |
|
bool |
overwrite |
|
Create(string)
Declaration
Stream Create(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
Delete(string)
Declaration
Parameters
Type |
Name |
Description |
string |
path |
|
Exists(string)
Declaration
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
GetAttributes(string)
Declaration
FileAttributes GetAttributes(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
GetLastWriteTime(string)
Declaration
DateTime GetLastWriteTime(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
Move(string, string)
Declaration
void Move(string sourceFileName, string destFileName)
Parameters
Type |
Name |
Description |
string |
sourceFileName |
|
string |
destFileName |
|
OpenRead(string)
Declaration
Stream OpenRead(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
ReadAllBytes(string)
Declaration
byte[] ReadAllBytes(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
SetAttributes(string, FileAttributes)
Declaration
void SetAttributes(string path, FileAttributes fileAttributes)
Parameters
Extension Methods