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