Méthode | Description | |
---|---|---|
Append ( this file, byte content ) : |
Appends a byte array to a file
|
|
Append ( this file, string content, |
Appends a string to a file
|
|
CompareTo ( this file1, |
Compares two files against one another
|
|
FileNameNoExtension ( this file ) : string |
Get the file name of the current file without extension
|
|
Read ( this file ) : string |
Reads a file to the end as a string
|
|
ReadBinary ( this file ) : byte[] |
Reads a file to the end and returns a binary array
|
|
Save ( this file, byte content ) : |
Saves a byte array to a file
|
|
Save ( this file, string content, |
Saves a string to a file
|
|
SaveAsync ( this file, byte content, AsyncCallback callBack, object stateObject ) : |
Saves a byte array to a file (asynchronously)
|
|
SaveAsync ( this file, string content, AsyncCallback callBack, object stateObject, |
Saves a string to a file (asynchronously)
|
|
SetAttributes ( this file, FileAttributes attributes ) : |
Sets the attributes of a file
|
public static Append ( this file, byte content ) : |
||
file | this | File to append to |
content | byte | Content to append to the file |
Résultat |
public static Append ( this file, string content, |
||
file | this | File to append to |
content | string | Content to save to the file |
encodingUsing | The type of encoding the string is using (defaults to ASCII) | |
Résultat |
public static CompareTo ( this file1, |
||
file1 | this | First file |
file2 | Second file | |
Résultat | bool |
public static FileNameNoExtension ( this file ) : string | ||
file | this | Current file info |
Résultat | string |
public static Read ( this file ) : string | ||
file | this | File to read |
Résultat | string |
public static ReadBinary ( this file ) : byte[] | ||
file | this | File to open |
Résultat | byte[] |
public static Save ( this file, byte content ) : |
||
file | this | File to save to |
content | byte | Content to save to the file |
Résultat |
public static Save ( this file, string content, |
||
file | this | File to save to |
content | string | Content to save to the file |
encodingUsing | Encoding that the content is using (defaults to ASCII) | |
Résultat |
public static SaveAsync ( this file, byte content, AsyncCallback callBack, object stateObject ) : |
||
file | this | File to save to |
content | byte | Content to save to the file |
callBack | AsyncCallback | Call back function |
stateObject | object | State object |
Résultat |
public static SaveAsync ( this file, string content, AsyncCallback callBack, object stateObject, |
||
file | this | File to save to |
content | string | Content to save to the file |
callBack | AsyncCallback | Call back function |
stateObject | object | State object |
encodingUsing | Encoding that the content is using (defaults to UTF8) | |
Résultat |
public static SetAttributes ( this file, FileAttributes attributes ) : |
||
file | this | File |
attributes | FileAttributes | Attributes to set |
Résultat |