Click or drag to resize
FileInfo Class
Envelope for System.IO.FileInfo class.
Inheritance Hierarchy

Namespace: CMS.FileSystemStorage
Assembly: CMS.FileSystemStorage (in CMS.FileSystemStorage.dll) Version: 9.0.0
Syntax
C#
public class FileInfo : FileInfo

The FileInfo type exposes the following members.

Constructors
  NameDescription
Public methodFileInfo
Initializes new instance of FileInfo.
Top
Fields
  NameDescription
Protected fieldmSystemInfo
System.IO file info object corresponding to this file
(Inherited from FileInfo.)
Top
Properties
  NameDescription
Public propertyAttributes
File attributes.
(Overrides FileInfo.Attributes.)
Public propertyCreationTime
Creation date of file.
(Overrides FileInfo.CreationTime.)
Public propertyDirectory
Directory of file.
(Overrides FileInfo.Directory.)
Public propertyDirectoryName
Directory name of file (without path).
(Overrides FileInfo.DirectoryName.)
Public propertyExists
If file exists.
(Overrides FileInfo.Exists.)
Public propertyExtension
File extenstion.
(Overrides FileInfo.Extension.)
Public propertyFullName
Full name of file (with whole path).
(Overrides FileInfo.FullName.)
Public propertyIsReadOnly
If is read only.
(Overrides FileInfo.IsReadOnly.)
Public propertyLastAccessTime
Creation date of file.
(Overrides FileInfo.LastAccessTime.)
Public propertyLastWriteTime
Last wirte time to file.
(Overrides FileInfo.LastWriteTime.)
Public propertyLength
Length of file.
(Overrides FileInfo.Length.)
Public propertyName
File name of file (without path).
(Overrides FileInfo.Name.)
Public propertySystemInfo
Returns system file info object.
(Overrides FileInfo.SystemInfo.)
Top
Methods
  NameDescription
Public methodCopyTo(String)
Copies current file to destination.
(Inherited from FileInfo.)
Public methodCopyTo(String, Boolean)
Copies current file to destination.
(Inherited from FileInfo.)
Protected methodCopyToInternal
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfo.CopyToInternal(String, Boolean).)
Public methodCreateText
Creates or opens a file for writing UTF-8 encoded text.
(Inherited from FileInfo.)
Protected methodCreateTextInternal
Creates or opens a file for writing UTF-8 encoded text.
(Overrides FileInfo.CreateTextInternal().)
Public methodDelete
Deletes file.
(Inherited from FileInfo.)
Protected methodDeleteInternal
Deletes file.
(Overrides FileInfo.DeleteInternal().)
Public methodMoveTo
Moves an existing file to a new file.
(Inherited from FileInfo.)
Protected methodMoveToInternal
Copies an existing file to a new file, allowing the overwriting of an existing file.
(Overrides FileInfo.MoveToInternal(String).)
Public methodOpenRead
Creates a read-only ICMSFileStream.
(Inherited from FileInfo.)
Protected methodOpenReadInternal
Opens file for reading.
(Overrides FileInfo.OpenReadInternal().)
Public methodOpenText
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
(Inherited from FileInfo.)
Protected methodOpenTextInternal
Creates stream which reads from file.
(Overrides FileInfo.OpenTextInternal().)
Public methodToString
Converts FileInfo object to string.
(Overrides Object.ToString().)
Top
See Also