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 FileInfoCopyToInternal(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 FileInfoCreateTextInternal.)
Public methodDelete
Deletes file.
(Inherited from FileInfo.)
Protected methodDeleteInternal
Deletes file.
(Overrides FileInfoDeleteInternal.)
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 FileInfoMoveToInternal(String).)
Public methodOpenRead
Creates a read-only ICMSFileStream.
(Inherited from FileInfo.)
Protected methodOpenReadInternal
Opens file for reading.
(Overrides FileInfoOpenReadInternal.)
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 FileInfoOpenTextInternal.)
Public methodToString
Converts FileInfo object to string.
(Overrides ObjectToString.)
Top
See Also