The File type exposes the following members.
Methods
|
Name |
Description |
|
AppendAllText(String, String)
|
|
|
AppendAllText(String, String, Encoding)
|
|
|
Copy(String, String)
|
|
|
Copy(String, String, Boolean)
|
|
|
Decrypt
|
|
|
Delete
|
|
|
Encrypt
|
|
|
Equals
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Exists
|
|
|
GetAttributes
|
|
|
GetCreationTime
|
|
|
GetCreationTimeUtc
|
|
|
GetHashCode
|
Serves as the default hash function. (Inherited from Object.) |
|
GetLastAccessTime
|
|
|
GetLastAccessTimeUtc
|
|
|
GetLastWriteTime
|
|
|
GetLastWriteTimeUtc
|
|
|
GetType
|
Gets the Type of the current instance. (Inherited from Object.) |
|
Move
|
|
|
OpenRead
|
|
|
OpenText
|
|
|
ReadAllBytes
|
|
|
ReadAllLines(String)
|
|
|
ReadAllLines(String, Encoding)
|
|
|
ReadAllText(String)
|
|
|
ReadAllText(String, Encoding)
|
|
|
Replace(String, String, String)
|
|
|
Replace(String, String, String, Boolean)
|
|
|
SetAttributes
|
|
|
SetCreationTime
|
|
|
SetCreationTimeUtc
|
|
|
SetLastAccessTime
|
|
|
SetLastAccessTimeUtc
|
|
|
SetLastWriteTime
|
|
|
SetLastWriteTimeUtc
|
|
|
ToString
|
Returns a string that represents the current object. (Inherited from Object.) |
|
WriteAllBytes
|
|
|
WriteAllLines(String, String)
|
|
|
WriteAllLines(String, String, Encoding)
|
|
|
WriteAllText(String, String)
|
|
|
WriteAllText(String, String, Encoding)
|
|
Top
See Also