 | File Methods |
The File type exposes the following members.
Methods
| Name | Description |
---|
  | AppendAllText | |
  | Copy(String, String) | |
  | Copy(String, String, Boolean) | |
  | Create(String) | |
  | Create(String, Int32) | |
  | Create(String, Int32, FileOptions) | |
  | Create(String, Int32, FileOptions, FileSecurity) | |
  | CreateText | |
  | Decrypt | |
  | Delete | |
  | Encrypt | |
  | Exists | |
  | GetAccessControl(String) | |
  | GetAccessControl(String, AccessControlSections) | |
  | GetAttributes | |
  | GetCreationTime | |
  | GetCreationTimeUtc | |
  | GetLastAccessTime | |
  | GetLastAccessTimeUtc | |
  | GetLastWriteTime | |
  | GetLastWriteTimeUtc | |
  | Move | |
  | Open(String, FileMode) | |
  | Open(String, FileMode, FileAccess) | |
  | Open(String, FileMode, FileAccess, FileShare) | |
  | OpenRead | |
  | OpenText | |
  | OpenWrite | |
  | ReadAllBytes | |
  | ReadAllLines(String) | |
  | ReadAllLines(String, Encoding) | |
  | ReadAllText(String) | |
  | ReadAllText(String, Encoding) | |
  | Replace(String, String, String) | |
  | Replace(String, String, String, Boolean) | |
  | SetAccessControl | |
  | SetAttributes | |
  | SetCreationTime | |
  | SetCreationTimeUtc | |
  | SetLastAccessTime | |
  | SetLastAccessTimeUtc | |
  | SetLastWriteTime | |
  | SetLastWriteTimeUtc | |
  | WriteAllBytes | |
  | WriteAllLines(String, String) | |
  | WriteAllLines(String, String, Encoding) | |
  | WriteAllText(String, String) | |
  | WriteAllText(String, String, Encoding) | |
Top
See Also