The C1File type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAppendAllLines(String, IEnumerable<(Of <<'(String>)>>))
Appends content to a file.
Public methodStatic memberAppendAllLines(String, IEnumerable<(Of <<'(String>)>>), Encoding)
Appends content to a file.
Public methodStatic memberAppendAllText(String, String)
Appends content to a file.
Public methodStatic memberAppendAllText(String, String, Encoding)
Appends content to a file.
Public methodStatic memberAppendText
Opens a C1StreamWriter for appending.
Public methodStatic memberCopy(String, String)
Copies a file.
Public methodStatic memberCopy(String, String, Boolean)
Copies a file.
Public methodStatic memberCreate(String)
Creates a new file and returns a file stream to it C1FileStream.
Public methodStatic memberCreate(String, Int32)
Creates a new file and returns a file stream to it C1FileStream.
Public methodStatic memberCreate(String, Int32, FileOptions)
Creates a new file and returns a file stream to it C1FileStream.
Public methodStatic memberCreateText
Creates a new file and returns a stream writer to it C1StreamWriter.
Public methodStatic memberDelete
Deletes the given file.
Public methodStatic memberExists
Determins if the given file exists or not.
Public methodStatic memberGetAttributes
Gets the file attributes.
Public methodStatic memberGetCreationTime
Gets the creation time of the file.
Public methodStatic memberGetCreationTimeUtc
Gets the creation utc time of the file.
Public methodStatic memberGetLastAccessTime
Gets the last access time.
Public methodStatic memberGetLastAccessTimeUtc
Gets the last access utc time.
Public methodStatic memberGetLastWriteTime
Get last write time of the file.
Public methodStatic memberGetLastWriteTimeUtc
Get last write utc time of the file.
Public methodStatic memberMove
Moves a file.
Public methodStatic memberOpen(String, FileMode)
Opens a file.
Public methodStatic memberOpen(String, FileMode, FileAccess)
Opens a file.
Public methodStatic memberOpen(String, FileMode, FileAccess, FileShare)
Opens a file.
Public methodStatic memberOpenRead
Opens a file for reading.
Public methodStatic memberOpenText
Opens a file.
Public methodStatic memberOpenWrite
Opens a file for writing.
Public methodStatic memberReadAllBytes
Read all bytes from a file.
Public methodStatic memberReadAllLines(String)
Read all lines from a file.
Public methodStatic memberReadAllLines(String, Encoding)
Read all lines from a file.
Public methodStatic memberReadAllText(String)
Read all text from a file.
Public methodStatic memberReadAllText(String, Encoding)
Read all text from a file.
Public methodStatic memberReadLines(String)
Read all lines from a file.
Public methodStatic memberReadLines(String, Encoding)
Read all lines from a file.
Public methodStatic memberReplace(String, String, String)
Replace a file with another file.
Public methodStatic memberReplace(String, String, String, Boolean)
Replace a file with another file.
Public methodStatic memberSetAttributes
Sets the file attributes.
Public methodStatic memberSetCreationTime
Sets the creation time of the file.
Public methodStatic memberSetCreationTimeUtc
Sets the creation utc time of the file.
Public methodStatic memberSetLastAccessTime
Sets the last access time of the file.
Public methodStatic memberSetLastAccessTimeUtc
Sets the last access utc time of the file.
Public methodStatic memberSetLastWriteTime
Sets the last write time of the file.
Public methodStatic memberSetLastWriteTimeUtc
Sets the last write utc time of the file.
Public methodStatic memberTouch
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 methodStatic memberWriteAllBytes
Writes bytes to a file.
Public methodStatic memberWriteAllLines(String, IEnumerable<(Of <<'(String>)>>))
Writes lines to a file.
Public methodStatic memberWriteAllLines(String, array<String>[]()[][])
Writes lines to a file.
Public methodStatic memberWriteAllLines(String, IEnumerable<(Of <<'(String>)>>), Encoding)
Writes lines to a file.
Public methodStatic memberWriteAllLines(String, array<String>[]()[][], Encoding)
Writes lines to a file.
Public methodStatic memberWriteAllText(String, String)
Writes text to a file.
Public methodStatic memberWriteAllText(String, String, Encoding)
Writes text to a file.

See Also