The IC1File type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AppendAllLines(String, IEnumerable<(Of <<'(String>)>>)) |
Appends content to a file.
| |
| AppendAllLines(String, IEnumerable<(Of <<'(String>)>>), Encoding) |
Appends content to a file.
| |
| AppendAllText(String, String) |
Appends content to a file.
| |
| AppendAllText(String, String, Encoding) |
Appends content to a file.
| |
| AppendText |
Opens a C1StreamWriter for appending.
| |
| Copy(String, String) |
Copies a file.
| |
| Copy(String, String, Boolean) |
Copies a file.
| |
| Create(String) |
Creates a new file and returns a file stream to it C1FileStream.
| |
| Create(String, Int32) |
Creates a new file and returns a file stream to it C1FileStream.
| |
| Create(String, Int32, FileOptions) |
Creates a new file and returns a file stream to it C1FileStream.
| |
| CreateText |
Creates a new file and returns a stream writer to it C1StreamWriter.
| |
| Delete |
Deletes the given file.
| |
| Exists |
Determins if the given file exists or not.
| |
| GetAttributes |
Gets the file attributes.
| |
| GetCreationTime |
Gets the creation time of the file.
| |
| GetCreationTimeUtc |
Gets the creation utc time of the file.
| |
| GetLastAccessTime |
Gets the last access time.
| |
| GetLastAccessTimeUtc |
Gets the last access utc time.
| |
| GetLastWriteTime |
Get last write time of the file.
| |
| GetLastWriteTimeUtc |
Get last write utc time of the file.
| |
| Move |
Moves a file.
| |
| Open(String, FileMode) |
Opens a file.
| |
| Open(String, FileMode, FileAccess) |
Opens a file.
| |
| Open(String, FileMode, FileAccess, FileShare) |
Opens a file.
| |
| OpenRead |
Opens a file for reading.
| |
| OpenText |
Opens a file.
| |
| OpenWrite |
Opens a file for writing.
| |
| ReadAllBytes |
Read all bytes from a file.
| |
| ReadAllLines(String) |
Read all lines from a file.
| |
| ReadAllLines(String, Encoding) |
Read all lines from a file.
| |
| ReadAllText(String) |
Read all text from a file.
| |
| ReadAllText(String, Encoding) |
Read all text from a file.
| |
| ReadLines(String) |
Read all lines from a file.
| |
| ReadLines(String, Encoding) |
Read all lines from a file.
| |
| Replace(String, String, String) |
Replace a file with another file.
| |
| Replace(String, String, String, Boolean) |
Replace a file with another file.
| |
| SetAttributes |
Sets the file attributes.
| |
| SetCreationTime |
Sets the creation time of the file.
| |
| SetCreationTimeUtc |
Sets the creation utc time of the file.
| |
| SetLastAccessTime |
Sets the last access time of the file.
| |
| SetLastAccessTimeUtc |
Sets the last access utc time of the file.
| |
| SetLastWriteTime |
Sets the last write time of the file.
| |
| SetLastWriteTimeUtc |
Sets the last write utc time of the file.
| |
| Touch |
This is not a port of the System.IO.File. This method can be used to 'touch' an
existing file. This is a way of telling the C1 IO system that the file has been
touched and C1 uses this to handle other than standard Windows deployments, like
Windows Azure.
| |
| WriteAllBytes |
Writes bytes to a file.
| |
| WriteAllLines(String, IEnumerable<(Of <<'(String>)>>)) |
Writes lines to a file.
| |
| WriteAllLines(String, array<String>[]()[][]) |
Writes lines to a file.
| |
| WriteAllLines(String, IEnumerable<(Of <<'(String>)>>), Encoding) |
Writes lines to a file.
| |
| WriteAllLines(String, array<String>[]()[][], Encoding) |
Writes lines to a file.
| |
| WriteAllText(String, String) |
Writes text to a file.
| |
| WriteAllText(String, String, Encoding) |
Writes text to a file.
|