Click or drag to resize
FileInfo Methods

The FileInfo type exposes the following members.

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