The IC1FileInfo type exposes the following members.

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.
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.
Public propertyCreationTime
Gets or sets the creation time of the file.
Public propertyCreationTimeUtc
Gets or sets the creation utc time of the file.
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.
Public propertyExtension
Returns the extension of the file.
Public propertyFullName
Returns the full path and name of the file.
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.
Public propertyLastAccessTimeUtc
Gets or sets the last access utc time of the file.
Public propertyLastWriteTime
Gets or sets the last write time of the file.
Public propertyLastWriteTimeUtc
Gets or sets the last write utc time of the file.
Public propertyLength
Returns the size of the file in bytes.
Public propertyName
Returns the name of the file.

See Also