FileInfo Class |
Namespace: CMS.FileSystemStorage
public class FileInfo : FileInfo
The FileInfo type exposes the following members.
Name | Description | |
---|---|---|
![]() | CopyTo(String) |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfoCopyTo(String).) |
![]() | CopyTo(String, Boolean) |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfoCopyTo(String, Boolean).) |
![]() | CreateText |
Creates or opens a file for writing UTF-8 encoded text.
(Overrides FileInfoCreateText.) |
![]() | Delete |
Deletes file.
(Overrides FileInfoDelete.) |
![]() | MoveTo |
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfoMoveTo(String).) |
![]() | OpenRead |
Opens file for reading.
(Overrides FileInfoOpenRead.) |
![]() | OpenText |
Creates stream which reads from file.
(Overrides FileInfoOpenText.) |
![]() | ToString |
Converts FileInfo object to string.
(Overrides FileInfoToString.) |
Name | Description | |
---|---|---|
![]() | AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
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 extenstion.
(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 wirte 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.) |