• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IFile

Namespace: DotNetNuke.Services.FileSystem.Internal
Assembly: DotNetNuke.dll
Syntax
public interface IFile

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
Type Description
Stream
| Improve this Doc View Source

Delete(String)

Declaration
void Delete(string path)
Parameters
Type Name Description
System.String path
| Improve this Doc View Source

Exists(String)

Declaration
bool Exists(string path)
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
Type Description
Stream
| 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

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS