The IC1File type exposes the following members.

Methods

  NameDescription
Public methodAppendAllLines(String, IEnumerable<(Of <<'(String>)>>))
Appends content to a file.
Public methodAppendAllLines(String, IEnumerable<(Of <<'(String>)>>), Encoding)
Appends content to a file.
Public methodAppendAllText(String, String)
Appends content to a file.
Public methodAppendAllText(String, String, Encoding)
Appends content to a file.
Public methodAppendText
Opens a C1StreamWriter for appending.
Public methodCopy(String, String)
Copies a file.
Public methodCopy(String, String, Boolean)
Copies a file.
Public methodCreate(String)
Creates a new file and returns a file stream to it C1FileStream.
Public methodCreate(String, Int32)
Creates a new file and returns a file stream to it C1FileStream.
Public methodCreate(String, Int32, FileOptions)
Creates a new file and returns a file stream to it C1FileStream.
Public methodCreateText
Creates a new file and returns a stream writer to it C1StreamWriter.
Public methodDelete
Deletes the given file.
Public methodExists
Determins if the given file exists or not.
Public methodGetAttributes
Gets the file attributes.
Public methodGetCreationTime
Gets the creation time of the file.
Public methodGetCreationTimeUtc
Gets the creation utc time of the file.
Public methodGetLastAccessTime
Gets the last access time.
Public methodGetLastAccessTimeUtc
Gets the last access utc time.
Public methodGetLastWriteTime
Get last write time of the file.
Public methodGetLastWriteTimeUtc
Get last write utc time of the file.
Public methodMove
Moves a file.
Public methodOpen(String, FileMode)
Opens a file.
Public methodOpen(String, FileMode, FileAccess)
Opens a file.
Public methodOpen(String, FileMode, FileAccess, FileShare)
Opens a file.
Public methodOpenRead
Opens a file for reading.
Public methodOpenText
Opens a file.
Public methodOpenWrite
Opens a file for writing.
Public methodReadAllBytes
Read all bytes from a file.
Public methodReadAllLines(String)
Read all lines from a file.
Public methodReadAllLines(String, Encoding)
Read all lines from a file.
Public methodReadAllText(String)
Read all text from a file.
Public methodReadAllText(String, Encoding)
Read all text from a file.
Public methodReadLines(String)
Read all lines from a file.
Public methodReadLines(String, Encoding)
Read all lines from a file.
Public methodReplace(String, String, String)
Replace a file with another file.
Public methodReplace(String, String, String, Boolean)
Replace a file with another file.
Public methodSetAttributes
Sets the file attributes.
Public methodSetCreationTime
Sets the creation time of the file.
Public methodSetCreationTimeUtc
Sets the creation utc time of the file.
Public methodSetLastAccessTime
Sets the last access time of the file.
Public methodSetLastAccessTimeUtc
Sets the last access utc time of the file.
Public methodSetLastWriteTime
Sets the last write time of the file.
Public methodSetLastWriteTimeUtc
Sets the last write utc time of the file.
Public methodTouch
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.
Public methodWriteAllBytes
Writes bytes to a file.
Public methodWriteAllLines(String, IEnumerable<(Of <<'(String>)>>))
Writes lines to a file.
Public methodWriteAllLines(String, array<String>[]()[][])
Writes lines to a file.
Public methodWriteAllLines(String, IEnumerable<(Of <<'(String>)>>), Encoding)
Writes lines to a file.
Public methodWriteAllLines(String, array<String>[]()[][], Encoding)
Writes lines to a file.
Public methodWriteAllText(String, String)
Writes text to a file.
Public methodWriteAllText(String, String, Encoding)
Writes text to a file.

See Also