FileInfo Class |
Namespace: CMS.IO
public abstract class FileInfo
The FileInfo type exposes the following members.
Name | Description | |
---|---|---|
mSystemInfo |
System.IO file info object corresponding to this file
|
Name | Description | |
---|---|---|
Attributes |
File attributes.
| |
CreationTime |
Creation date of file.
| |
Directory |
Directory of file.
| |
DirectoryName |
Directory name of file (without path).
| |
Exists |
If file exists.
| |
Extension |
File extension.
| |
FullName |
Full name of file (with whole path).
| |
IsReadOnly |
If is read only.
| |
LastAccessTime |
Last access time of file.
| |
LastWriteTime |
Last write time to file.
| |
Length |
Length of file.
| |
Name |
File name of file (without path).
| |
SystemInfo |
System.IO file info object corresponding to this file
|
Name | Description | |
---|---|---|
CopyTo(String) |
Copies current file to destination.
| |
CopyTo(String, Boolean) |
Copies current file to destination.
| |
CopyToInternal |
Copies an existing file to a new file, allowing the overwriting of an existing file.
| |
CreateText |
Creates or opens a file for writing UTF-8 encoded text.
| |
CreateTextInternal |
Creates or opens a file for writing UTF-8 encoded text.
| |
Delete |
Deletes file.
| |
DeleteInternal |
Deletes file.
| |
MoveTo |
Moves an existing file to a new file.
| |
MoveToInternal |
Moves an existing file to a new file.
| |
New |
Initializes new instance of file info object.
| |
OpenRead |
Creates a read-only ICMSFileStream.
| |
OpenReadInternal |
Creates a read-only FileStream.
| |
OpenText |
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
| |
OpenTextInternal |
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
|