Click or drag to resize
FileInfo Methods

The FileInfo type exposes the following members.

Methods
  NameDescription
Public methodCopyTo(String)
Copies current file to destination.
Public methodCopyTo(String, Boolean)
Copies current file to destination.
Protected methodCopyToInternal
Copies an existing file to a new file, allowing the overwriting of an existing file.
Public methodCreateText
Creates or opens a file for writing UTF-8 encoded text.
Protected methodCreateTextInternal
Creates or opens a file for writing UTF-8 encoded text.
Public methodDelete
Deletes file.
Protected methodDeleteInternal
Deletes file.
Public methodMoveTo
Moves an existing file to a new file.
Protected methodMoveToInternal
Moves an existing file to a new file.
Public methodStatic memberNew
Initializes new instance of file info object.
Public methodOpenRead
Creates a read-only ICMSFileStream.
Protected methodOpenReadInternal
Creates a read-only FileStream.
Public methodOpenText
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
Protected methodOpenTextInternal
Creates a StreamReader with UTF8 encoding that reads from an existing text file.
Top
See Also