Edit

Share via


File Class

Definition

public ref class File abstract sealed
public static class File
type File = class
Public Class File
Inheritance
File

Methods

AppendAllLines(String, IEnumerable<String>, Encoding)
AppendAllLines(String, IEnumerable<String>)
AppendAllLinesAsync(String, IEnumerable<String>, CancellationToken)
AppendAllLinesAsync(String, IEnumerable<String>, Encoding, CancellationToken)
AppendAllText(String, String, Encoding)
AppendAllText(String, String)
AppendAllTextAsync(String, String, CancellationToken)
AppendAllTextAsync(String, String, Encoding, CancellationToken)
AppendText(String)
Copy(String, String, Boolean)
Copy(String, String)
Create(String, Int32, FileOptions)
Create(String, Int32)
Create(String)
CreateSymbolicLink(String, String)
CreateText(String)
Decrypt(String)
Delete(String)
Encrypt(String)
Exists(String)
GetAttributes(String)
GetCreationTime(String)
GetCreationTimeUtc(String)
GetLastAccessTime(String)
GetLastAccessTimeUtc(String)
GetLastWriteTime(String)
GetLastWriteTimeUtc(String)
Move(String, String, Boolean)
Move(String, String)
Open(String, FileMode, FileAccess, FileShare)
Open(String, FileMode, FileAccess)
Open(String, FileMode)
OpenRead(String)
OpenText(String)
OpenWrite(String)
ReadAllBytes(String)
ReadAllBytesAsync(String, CancellationToken)
ReadAllLines(String, Encoding)
ReadAllLines(String)
ReadAllLinesAsync(String, CancellationToken)
ReadAllLinesAsync(String, Encoding, CancellationToken)
ReadAllText(String, Encoding)
ReadAllText(String)
ReadAllTextAsync(String, CancellationToken)
ReadAllTextAsync(String, Encoding, CancellationToken)
ReadLines(String, Encoding)
ReadLines(String)
Replace(String, String, String, Boolean)
Replace(String, String, String)
ResolveLinkTarget(String, Boolean)
SetAttributes(String, FileAttributes)
SetCreationTime(String, DateTime)
SetCreationTimeUtc(String, DateTime)
SetLastAccessTime(String, DateTime)
SetLastAccessTimeUtc(String, DateTime)
SetLastWriteTime(String, DateTime)
SetLastWriteTimeUtc(String, DateTime)
WriteAllBytes(String, Byte[])
WriteAllBytesAsync(String, Byte[], CancellationToken)
WriteAllLines(String, IEnumerable<String>, Encoding)
WriteAllLines(String, IEnumerable<String>)
WriteAllLines(String, String[], Encoding)
WriteAllLines(String, String[])
WriteAllLinesAsync(String, IEnumerable<String>, CancellationToken)
WriteAllLinesAsync(String, IEnumerable<String>, Encoding, CancellationToken)
WriteAllText(String, String, Encoding)
WriteAllText(String, String)
WriteAllTextAsync(String, String, CancellationToken)
WriteAllTextAsync(String, String, Encoding, CancellationToken)

Applies to