The IC1FileInfo type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AppendText |
Creates a file stream C1StreamWriter for appending.
| |
| CopyTo(String) |
Copies the file to the given path.
| |
| CopyTo(String, Boolean) |
Copies the file to the given path and overwrites any existing file if specified.
| |
| Create |
Creates a file stream C1FileStream.
| |
| CreateText |
Creates a file stream C1StreamWriter.
| |
| Delete |
Deletes the file.
| |
| GetObjectData | ||
| MoveTo |
Moves the file to the given path.
| |
| Open(FileMode) |
Creates a file stream C1FileStream.
| |
| Open(FileMode, FileAccess) |
Creates a file stream C1FileStream.
| |
| Open(FileMode, FileAccess, FileShare) |
Creates a file stream C1FileStream.
| |
| OpenRead |
Creates a file stream C1FileStream.
| |
| OpenText |
Creates a file stream C1StreamReader.
| |
| OpenWrite |
Creates a file stream C1FileStream.
| |
| Refresh | ||
| Replace(String, String) |
Replaces the given file with this one.
| |
| Replace(String, String, Boolean) |
Replaces the given file with this one.
|
Properties
| Name | Description | |
|---|---|---|
| Attributes |
Gets or sets the file attributes on the file.
| |
| CreationTime |
Gets or sets the creation time of the file.
| |
| CreationTimeUtc |
Gets or sets the creation utc time of the file.
| |
| Directory |
Returns a C1DirectoryInfo of the file.
| |
| DirectoryName |
Returns the directory name of the file.
| |
| Exists |
Returns true if the file exists. Otherwise false.
| |
| Extension |
Returns the extension of the file.
| |
| FullName |
Returns the full path and name of the file.
| |
| IsReadOnly |
Returns true if and only if the file is read only.
| |
| LastAccessTime |
Gets or sets the last access time of the file.
| |
| LastAccessTimeUtc |
Gets or sets the last access utc time of the file.
| |
| LastWriteTime |
Gets or sets the last write time of the file.
| |
| LastWriteTimeUtc |
Gets or sets the last write utc time of the file.
| |
| Length |
Returns the size of the file in bytes.
| |
| Name |
Returns the name of the file.
|