FileInfo Class |
Namespace: CMS.FileSystemStorage
public class FileInfo : FileInfo
The FileInfo type exposes the following members.
Name | Description | |
---|---|---|
mSystemInfo |
System.IO file info object corresponding to this file
(Inherited from FileInfo.) |
Name | Description | |
---|---|---|
Attributes |
File attributes.
(Overrides FileInfoAttributes.) | |
CreationTime |
Creation date of file.
(Overrides FileInfoCreationTime.) | |
Directory |
Directory of file.
(Overrides FileInfoDirectory.) | |
DirectoryName |
Directory name of file (without path).
(Overrides FileInfoDirectoryName.) | |
Exists |
If file exists.
(Overrides FileInfoExists.) | |
Extension |
File extension.
(Overrides FileInfoExtension.) | |
FullName |
Full name of file (with whole path).
(Overrides FileInfoFullName.) | |
IsReadOnly |
If is read only.
(Overrides FileInfoIsReadOnly.) | |
LastAccessTime |
Creation date of file.
(Overrides FileInfoLastAccessTime.) | |
LastWriteTime |
Last write time to file.
(Overrides FileInfoLastWriteTime.) | |
Length |
Length of file.
(Overrides FileInfoLength.) | |
Name |
File name of file (without path).
(Overrides FileInfoName.) | |
SystemInfo |
Returns system file info object.
(Overrides FileInfoSystemInfo.) |
Name | Description | |
---|---|---|
CopyTo(String) |
Copies current file to destination.
(Inherited from FileInfo.) | |
CopyTo(String, Boolean) |
Copies current file to destination.
(Inherited from FileInfo.) | |
CopyToInternal |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfoCopyToInternal(String, Boolean).) | |
CreateText |
Creates or opens a file for writing UTF-8 encoded text.
(Inherited from FileInfo.) | |
CreateTextInternal |
Creates or opens a file for writing UTF-8 encoded text.
(Overrides FileInfoCreateTextInternal.) | |
Delete |
Deletes file.
(Inherited from FileInfo.) | |
DeleteInternal |
Deletes file.
(Overrides FileInfoDeleteInternal.) | |
MoveTo |
Moves an existing file to a new file.
(Inherited from FileInfo.) | |
MoveToInternal |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfoMoveToInternal(String).) | |
OpenRead |
Creates a read-only ICMSFileStream.
(Inherited from FileInfo.) | |
OpenReadInternal |
Opens file for reading.
(Overrides FileInfoOpenReadInternal.) | |
OpenText |
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
(Inherited from FileInfo.) | |
OpenTextInternal |
Creates stream which reads from file.
(Overrides FileInfoOpenTextInternal.) | |
ToString |
Converts FileInfo object to string.
(Overrides ObjectToString.) |