The C1FileInfo type exposes the following members.

Constructors

  NameDescription
Public methodC1FileInfo
Creates a C1FileInfo.

Methods

  NameDescription
Public methodAppendText
Creates a file stream C1StreamWriter for appending.
Public methodCopyTo(String)
Copies the file to the given path.
Public methodCopyTo(String, Boolean)
Copies the file to the given path and overwrites any existing file if specified.
Public methodCreate
Creates a file stream C1FileStream.
Public methodCreateText
Creates a file stream C1StreamWriter.
Public methodDelete
Deletes the file.
(Overrides C1FileSystemInfo..::..Delete()()()().)
Public methodGetObjectData
Public methodMoveTo
Moves the file to the given path.
Public methodOpen(FileMode)
Creates a file stream C1FileStream.
Public methodOpen(FileMode, FileAccess)
Creates a file stream C1FileStream.
Public methodOpen(FileMode, FileAccess, FileShare)
Creates a file stream C1FileStream.
Public methodOpenRead
Creates a file stream C1FileStream.
Public methodOpenText
Creates a file stream C1StreamReader.
Public methodOpenWrite
Creates a file stream C1FileStream.
Public methodRefresh
Public methodReplace(String, String)
Replaces the given file with this one.
Public methodReplace(String, String, Boolean)
Replaces the given file with this one.

Properties

  NameDescription
Public propertyAttributes
Gets or sets the file attributes on the file.
(Overrides C1FileSystemInfo..::..Attributes.)
Public propertyCreationTime
Gets or sets the creation time of the file.
(Overrides C1FileSystemInfo..::..CreationTime.)
Public propertyCreationTimeUtc
Gets or sets the creation utc time of the file.
(Overrides C1FileSystemInfo..::..CreationTimeUtc.)
Public propertyDirectory
Returns a C1DirectoryInfo of the file.
Public propertyDirectoryName
Returns the directory name of the file.
Public propertyExists
Returns true if the file exists. Otherwise false.
(Overrides C1FileSystemInfo..::..Exists.)
Public propertyExtension
Returns the extension of the file.
(Overrides C1FileSystemInfo..::..Extension.)
Public propertyFullName
Returns the full path and name of the file.
(Overrides C1FileSystemInfo..::..FullName.)
Public propertyIsReadOnly
Returns true if and only if the file is read only.
Public propertyLastAccessTime
Gets or sets the last access time of the file.
(Overrides C1FileSystemInfo..::..LastAccessTime.)
Public propertyLastAccessTimeUtc
Gets or sets the last access utc time of the file.
(Overrides C1FileSystemInfo..::..LastAccessTimeUtc.)
Public propertyLastWriteTime
Gets or sets the last write time of the file.
(Overrides C1FileSystemInfo..::..LastWriteTime.)
Public propertyLastWriteTimeUtc
Gets or sets the last write utc time of the file.
(Overrides C1FileSystemInfo..::..LastWriteTimeUtc.)
Public propertyLength
Returns the size of the file in bytes.
Public propertyName
Returns the name of the file.

See Also