Méthode | Description | |
---|---|---|
AppendAllText ( string path, string contents ) : void |
Appends all text.
|
|
AppendAllText ( string path, string contents, |
Appends all text.
|
|
AppendText ( string path ) : |
Appends the text.
|
|
Copy ( string sourceFileName, string destFileName ) : void |
Copies the specified source file name.
|
|
Copy ( string sourceFileName, string destFileName, bool overwrite ) : void |
Copies the specified source file name.
|
|
Create ( string path ) : Stream |
Creates the specified path.
|
|
Create ( string path, int bufferSize ) : Stream |
Creates the specified path.
|
|
Create ( string path, int bufferSize, FileOptions options ) : Stream |
Creates the specified path.
|
|
Create ( string path, int bufferSize, FileOptions options, |
Creates the specified path.
|
|
CreateText ( string path ) : |
Creates the text.
|
|
Decrypt ( string path ) : void |
Decrypts the specified path.
|
|
Delete ( string path ) : void |
Deletes the specified path.
|
|
Encrypt ( string path ) : void |
Encrypts the specified path.
|
|
Exists ( string path ) : bool |
Exists the specified path.
|
|
GetAccessControl ( string path ) : |
Gets the access control.
|
|
GetAccessControl ( string path, AccessControlSections includeSections ) : |
Gets the access control.
|
|
GetAttributes ( string path ) : FileAttributes |
Gets the attributes.
|
|
GetCreationTime ( string path ) : System.DateTime |
Gets the creation time.
|
|
GetCreationTimeUtc ( string path ) : System.DateTime |
Gets the creation time UTC.
|
|
GetLastAccessTime ( string path ) : System.DateTime |
Gets the last access time.
|
|
GetLastAccessTimeUtc ( string path ) : System.DateTime |
Gets the last access time UTC.
|
|
GetLastWriteTime ( string path ) : System.DateTime |
Gets the last write time.
|
|
GetLastWriteTimeUtc ( string path ) : System.DateTime |
Gets the last write time UTC.
|
|
Move ( string sourceFileName, string destFileName ) : void |
Moves the specified source file name.
|
|
Open ( string path, FileMode mode ) : Stream |
Opens the specified path.
|
|
Open ( string path, FileMode mode, FileAccess access ) : Stream |
Opens the specified path.
|
|
Open ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream |
Opens the specified path.
|
|
OpenRead ( string path ) : Stream |
Opens the read.
|
|
OpenText ( string path ) : |
Opens the text.
|
|
OpenWrite ( string path ) : Stream |
Opens the write.
|
|
ReadAllBytes ( string path ) : byte[] |
Reads all bytes.
|
|
ReadAllLines ( string path ) : string[] |
Reads all lines.
|
|
ReadAllLines ( string path, |
Reads all lines.
|
|
ReadAllText ( string path ) : string |
Reads all text.
|
|
ReadAllText ( string path, |
Reads all text.
|
|
Replace ( string sourceFileName, string destinationFileName, string destinationBackupFileName ) : void |
Replaces the specified source file name.
|
|
Replace ( string sourceFileName, string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors ) : void |
Replaces the specified source file name.
|
|
SetAccessControl ( string path, |
Sets the access control.
|
|
SetAttributes ( string path, FileAttributes fileAttributes ) : void |
Sets the attributes.
|
|
SetCreationTime ( string path, System.DateTime creationTime ) : void |
Sets the creation time.
|
|
SetCreationTimeUtc ( string path, System.DateTime creationTimeUtc ) : void |
Sets the creation time UTC.
|
|
SetLastAccessTime ( string path, System.DateTime lastAccessTime ) : void |
Sets the last access time.
|
|
SetLastAccessTimeUtc ( string path, System.DateTime lastAccessTimeUtc ) : void |
Sets the last access time UTC.
|
|
SetLastWriteTime ( string path, System.DateTime lastWriteTime ) : void |
Sets the last write time.
|
|
SetLastWriteTimeUtc ( string path, System.DateTime lastWriteTimeUtc ) : void |
Sets the last write time UTC.
|
|
WriteAllBytes ( string path, byte bytes ) : void |
Writes all bytes.
|
|
WriteAllLines ( string path, string contents ) : void |
Writes all lines.
|
|
WriteAllLines ( string path, string contents, |
Writes all lines.
|
|
WriteAllText ( string path, string contents ) : void |
Writes all text.
|
|
WriteAllText ( string path, string contents, |
Writes all text.
|
public AppendAllText ( string path, string contents ) : void | ||
path | string | The path. |
contents | string | The contents. |
Résultat | void |
public AppendAllText ( string path, string contents, |
||
path | string | The path. |
contents | string | The contents. |
encoding | The encoding. | |
Résultat | void |
public AppendText ( string path ) : |
||
path | string | The path. |
Résultat |
public Copy ( string sourceFileName, string destFileName ) : void | ||
sourceFileName | string | Name of the source file. |
destFileName | string | Name of the dest file. |
Résultat | void |
public Copy ( string sourceFileName, string destFileName, bool overwrite ) : void | ||
sourceFileName | string | Name of the source file. |
destFileName | string | Name of the dest file. |
overwrite | bool | if set to |
Résultat | void |
public Create ( string path ) : Stream | ||
path | string | The path. |
Résultat | Stream |
public Create ( string path, int bufferSize ) : Stream | ||
path | string | The path. |
bufferSize | int | Size of the buffer. |
Résultat | Stream |
public Create ( string path, int bufferSize, FileOptions options ) : Stream | ||
path | string | The path. |
bufferSize | int | Size of the buffer. |
options | FileOptions | The options. |
Résultat | Stream |
public Create ( string path, int bufferSize, FileOptions options, |
||
path | string | The path. |
bufferSize | int | Size of the buffer. |
options | FileOptions | The options. |
fileSecurity | The file security. | |
Résultat | Stream |
public CreateText ( string path ) : |
||
path | string | The path. |
Résultat |
public GetAccessControl ( string path ) : |
||
path | string | The path. |
Résultat |
public GetAccessControl ( string path, AccessControlSections includeSections ) : |
||
path | string | The path. |
includeSections | AccessControlSections | The include sections. |
Résultat |
public GetAttributes ( string path ) : FileAttributes | ||
path | string | The path. |
Résultat | FileAttributes |
public GetCreationTime ( string path ) : System.DateTime | ||
path | string | The path. |
Résultat | System.DateTime |
public GetCreationTimeUtc ( string path ) : System.DateTime | ||
path | string | The path. |
Résultat | System.DateTime |
public GetLastAccessTime ( string path ) : System.DateTime | ||
path | string | The path. |
Résultat | System.DateTime |
public GetLastAccessTimeUtc ( string path ) : System.DateTime | ||
path | string | The path. |
Résultat | System.DateTime |
public GetLastWriteTime ( string path ) : System.DateTime | ||
path | string | The path. |
Résultat | System.DateTime |
public GetLastWriteTimeUtc ( string path ) : System.DateTime | ||
path | string | The path. |
Résultat | System.DateTime |
public Move ( string sourceFileName, string destFileName ) : void | ||
sourceFileName | string | Name of the source file. |
destFileName | string | Name of the dest file. |
Résultat | void |
public Open ( string path, FileMode mode ) : Stream | ||
path | string | The path. |
mode | FileMode | The mode. |
Résultat | Stream |
public Open ( string path, FileMode mode, FileAccess access ) : Stream | ||
path | string | The path. |
mode | FileMode | The mode. |
access | FileAccess | The access. |
Résultat | Stream |
public Open ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream | ||
path | string | The path. |
mode | FileMode | The mode. |
access | FileAccess | The access. |
share | FileShare | The share. |
Résultat | Stream |
public OpenRead ( string path ) : Stream | ||
path | string | The path. |
Résultat | Stream |
public OpenText ( string path ) : |
||
path | string | The path. |
Résultat |
public OpenWrite ( string path ) : Stream | ||
path | string | The path. |
Résultat | Stream |
public ReadAllBytes ( string path ) : byte[] | ||
path | string | The path. |
Résultat | byte[] |
public ReadAllLines ( string path ) : string[] | ||
path | string | The path. |
Résultat | string[] |
public ReadAllLines ( string path, |
||
path | string | The path. |
encoding | The encoding. | |
Résultat | string[] |
public ReadAllText ( string path ) : string | ||
path | string | The path. |
Résultat | string |
public ReadAllText ( string path, |
||
path | string | The path. |
encoding | The encoding. | |
Résultat | string |
public Replace ( string sourceFileName, string destinationFileName, string destinationBackupFileName ) : void | ||
sourceFileName | string | Name of the source file. |
destinationFileName | string | Name of the destination file. |
destinationBackupFileName | string | Name of the destination backup file. |
Résultat | void |
public Replace ( string sourceFileName, string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors ) : void | ||
sourceFileName | string | Name of the source file. |
destinationFileName | string | Name of the destination file. |
destinationBackupFileName | string | Name of the destination backup file. |
ignoreMetadataErrors | bool | if set to |
Résultat | void |
public SetAccessControl ( string path, |
||
path | string | The path. |
fileSecurity | The file security. | |
Résultat | void |
public SetAttributes ( string path, FileAttributes fileAttributes ) : void | ||
path | string | The path. |
fileAttributes | FileAttributes | The file attributes. |
Résultat | void |
public SetCreationTime ( string path, System.DateTime creationTime ) : void | ||
path | string | The path. |
creationTime | System.DateTime | The creation time. |
Résultat | void |
public SetCreationTimeUtc ( string path, System.DateTime creationTimeUtc ) : void | ||
path | string | The path. |
creationTimeUtc | System.DateTime | The creation time UTC. |
Résultat | void |
public SetLastAccessTime ( string path, System.DateTime lastAccessTime ) : void | ||
path | string | The path. |
lastAccessTime | System.DateTime | The last access time. |
Résultat | void |
public SetLastAccessTimeUtc ( string path, System.DateTime lastAccessTimeUtc ) : void | ||
path | string | The path. |
lastAccessTimeUtc | System.DateTime | The last access time UTC. |
Résultat | void |
public SetLastWriteTime ( string path, System.DateTime lastWriteTime ) : void | ||
path | string | The path. |
lastWriteTime | System.DateTime | The last write time. |
Résultat | void |
public SetLastWriteTimeUtc ( string path, System.DateTime lastWriteTimeUtc ) : void | ||
path | string | The path. |
lastWriteTimeUtc | System.DateTime | The last write time UTC. |
Résultat | void |
public WriteAllBytes ( string path, byte bytes ) : void | ||
path | string | The path. |
bytes | byte | The bytes. |
Résultat | void |
public WriteAllLines ( string path, string contents ) : void | ||
path | string | The path. |
contents | string | The contents. |
Résultat | void |
public WriteAllLines ( string path, string contents, |
||
path | string | The path. |
contents | string | The contents. |
encoding | The encoding. | |
Résultat | void |
public WriteAllText ( string path, string contents ) : void | ||
path | string | The path. |
contents | string | The contents. |
Résultat | void |
public WriteAllText ( string path, string contents, |
||
path | string | The path. |
contents | string | The contents. |
encoding | The encoding. | |
Résultat | void |