|
| Name | Description |
|---|
.gif) .gif) | AppendAllLines(String, IEnumerable<(Of <(String>)>)) | Appends lines to a file, and then closes the file. |
.gif) .gif) | AppendAllLines(String, IEnumerable<(Of <(String>)>), Encoding) | Appends lines to a file by using a specified encoding, and then closes the file. |
.gif) .gif) | AppendAllText(String, String) | Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file. |
.gif) .gif) | AppendAllText(String, String, Encoding) | Appends the specified string to the file, creating the file if it does not already exist. |
.gif) .gif) .gif) | AppendText | Creates a StreamWriter that appends UTF-8 encoded text to an existing file. |
.gif) .gif) .gif) | Copy(String, String) | Copies an existing file to a new file. Overwriting a file of the same name is not allowed. |
.gif) .gif) .gif) | Copy(String, String, Boolean) | Copies an existing file to a new file. Overwriting a file of the same name is allowed. |
.gif) .gif) .gif) | Create(String) | Creates or overwrites a file in the specified path. |
.gif) .gif) .gif) | Create(String, Int32) | Creates or overwrites the specified file. |
.gif) .gif) | Create(String, Int32, FileOptions) | Creates or overwrites the specified file, specifying a buffer size and a FileOptions value that describes how to create or overwrite the file. |
.gif) .gif) | Create(String, Int32, FileOptions, FileSecurity) | Creates or overwrites the specified file with the specified buffer size, file options, and file security. |
.gif) .gif) .gif) | CreateText | Creates or opens a file for writing UTF-8 encoded text. |
.gif) .gif) | Decrypt | Decrypts a file that was encrypted by the current account using the Encrypt method. |
.gif) .gif) .gif) | Delete | Deletes the specified file. |
.gif) .gif) | Encrypt | Encrypts a file so that only the account used to encrypt the file can decrypt it. |
.gif) .gif) .gif) | Exists | Determines whether the specified file exists. |
.gif) .gif) | GetAccessControl(String) | Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file. |
.gif) .gif) | GetAccessControl(String, AccessControlSections) | Gets a FileSecurity object that encapsulates the specified type of access control list (ACL) entries for a particular file. |
.gif) .gif) | GetAttributes | Gets the FileAttributes of the file on the path. |
.gif) .gif) .gif) | GetCreationTime | Returns the creation date and time of the specified file or directory. |
.gif) .gif) | GetCreationTimeUtc | Returns the creation date and time, in coordinated universal time (UTC), of the specified file or directory. |
.gif) .gif) .gif) | GetLastAccessTime | Returns the date and time the specified file or directory was last accessed. |
.gif) .gif) | GetLastAccessTimeUtc | Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last accessed. |
.gif) .gif) .gif) | GetLastWriteTime | Returns the date and time the specified file or directory was last written to. |
.gif) .gif) | GetLastWriteTimeUtc | Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last written to. |
.gif) .gif) .gif) | Move | Moves a specified file to a new location, providing the option to specify a new file name. |
.gif) .gif) .gif) | Open(String, FileMode) | Opens a FileStream on the specified path with read/write access. |
.gif) .gif) .gif) | Open(String, FileMode, FileAccess) | Opens a FileStream on the specified path, with the specified mode and access. |
.gif) .gif) .gif) | Open(String, FileMode, FileAccess, FileShare) | Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. |
.gif) .gif) .gif) | OpenRead | Opens an existing file for reading. |
.gif) .gif) .gif) | OpenText | Opens an existing UTF-8 encoded text file for reading. |
.gif) .gif) .gif) | OpenWrite | Opens an existing file or creates a new file for writing. |
.gif) .gif) | ReadAllBytes | Opens a binary file, reads the contents of the file into a byte array, and then closes the file. |
.gif) .gif) | ReadAllLines(String) | Opens a text file, reads all lines of the file, and then closes the file. |
.gif) .gif) | ReadAllLines(String, Encoding) | Opens a file, reads all lines of the file with the specified encoding, and then closes the file. |
.gif) .gif) | ReadAllText(String) | Opens a text file, reads all lines of the file, and then closes the file. |
.gif) .gif) | ReadAllText(String, Encoding) | Opens a file, reads all lines of the file with the specified encoding, and then closes the file. |
.gif) .gif) | ReadLines(String) | Reads the lines of a file. |
.gif) .gif) | ReadLines(String, Encoding) | Read the lines of a file that has a specified encoding. |
.gif) .gif) | Replace(String, String, String) | Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file. |
.gif) .gif) | Replace(String, String, String, Boolean) | Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file and optionally ignores merge errors. |
.gif) .gif) | SetAccessControl | Applies access control list (ACL) entries described by a FileSecurity object to the specified file. |
.gif) .gif) | SetAttributes | Sets the specified FileAttributes of the file on the specified path. |
.gif) .gif) | SetCreationTime | Sets the date and time the file was created. |
.gif) .gif) | SetCreationTimeUtc | Sets the date and time, in coordinated universal time (UTC), that the file was created. |
.gif) .gif) | SetLastAccessTime | Sets the date and time the specified file was last accessed. |
.gif) .gif) | SetLastAccessTimeUtc | Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. |
.gif) .gif) | SetLastWriteTime | Sets the date and time that the specified file was last written to. |
.gif) .gif) | SetLastWriteTimeUtc | Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. |
.gif) .gif) | WriteAllBytes | Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten. |
.gif) .gif) | WriteAllLines(String, IEnumerable<(Of <(String>)>)) | Creates a new file, writes a collection of strings to the file, and then closes the file. |
.gif) .gif) | WriteAllLines(String, array<String>[]()[]) | Creates a new file, write the specified string array to the file, and then closes the file. |
.gif) .gif) | WriteAllLines(String, IEnumerable<(Of <(String>)>), Encoding) | Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. |
.gif) .gif) | WriteAllLines(String, array<String>[]()[], Encoding) | Creates a new file, writes the specified string array to the file by using the specified encoding, and then closes the file. |
.gif) .gif) | WriteAllText(String, String) | Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten. |
.gif) .gif) | WriteAllText(String, String, Encoding) | Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. |