The C1FileInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | C1FileInfo |
Creates a C1FileInfo.
|
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.
(Overrides C1FileSystemInfo..::..Delete()()()().) |
![]() | GetObjectData | (Overrides C1FileSystemInfo..::..GetObjectData(SerializationInfo, StreamingContext).) |
![]() | 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 | (Overrides C1FileSystemInfo..::..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.
(Overrides C1FileSystemInfo..::..Attributes.) |
![]() | CreationTime |
Gets or sets the creation time of the file.
(Overrides C1FileSystemInfo..::..CreationTime.) |
![]() | CreationTimeUtc |
Gets or sets the creation utc time of the file.
(Overrides C1FileSystemInfo..::..CreationTimeUtc.) |
![]() | Directory |
Returns a C1DirectoryInfo of the file.
|
![]() | DirectoryName |
Returns the directory name of the file.
|
![]() | Exists |
Returns true if the file exists. Otherwise false.
(Overrides C1FileSystemInfo..::..Exists.) |
![]() | Extension |
Returns the extension of the file.
(Overrides C1FileSystemInfo..::..Extension.) |
![]() | FullName |
Returns the full path and name of the file.
(Overrides C1FileSystemInfo..::..FullName.) |
![]() | IsReadOnly |
Returns true if and only if the file is read only.
|
![]() | LastAccessTime |
Gets or sets the last access time of the file.
(Overrides C1FileSystemInfo..::..LastAccessTime.) |
![]() | LastAccessTimeUtc |
Gets or sets the last access utc time of the file.
(Overrides C1FileSystemInfo..::..LastAccessTimeUtc.) |
![]() | LastWriteTime |
Gets or sets the last write time of the file.
(Overrides C1FileSystemInfo..::..LastWriteTime.) |
![]() | LastWriteTimeUtc |
Gets or sets the last write utc time of the file.
(Overrides C1FileSystemInfo..::..LastWriteTimeUtc.) |
![]() | Length |
Returns the size of the file in bytes.
|
![]() | Name |
Returns the name of the file.
|