메소드 | 설명 | |
---|---|---|
AppendAllLines ( this store, string path, IEnumerable |
Appends lines to a file, and then closes the file.
|
|
AppendAllLines ( this store, string path, IEnumerable |
Appends lines to a file by using a specified encoding, and then closes the file.
|
|
AppendAllLinesAsync ( this store, string path, IEnumerable |
Appends lines to a file, and then closes the file.
|
|
AppendAllLinesAsync ( this store, string path, IEnumerable |
Appends lines to a file by using a specified encoding, and then closes the file.
|
|
AppendAllText ( this store, string path, string contents ) : void |
Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file.
|
|
AppendAllText ( this store, string path, string contents, |
Appends the specified string to the file, creating the file if it does not already exist.
|
|
AppendAllTextAsync ( this store, string path, string contents ) : System.Threading.Tasks.Task |
Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file.
|
|
AppendAllTextAsync ( this store, string path, string contents, |
Appends the specified string to the file, creating the file if it does not already exist.
|
|
DeleteDirectory ( this store, string path, bool recursive ) : void |
Deletes the specified directory and, if indicated, any subdirectories and files in the directory.
|
|
ReadAllBytes ( this store, string path ) : byte[] |
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
|
|
ReadAllBytesAsync ( this store, string path ) : Task |
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
|
|
ReadAllLines ( this store, string path ) : string[] |
Opens a text file, reads all lines of the file, and then closes the file.
|
|
ReadAllLines ( this store, string path, |
Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
|
|
ReadAllLinesAsync ( this store, string path ) : Task |
Opens a text file, reads all lines of the file, and then closes the file.
|
|
ReadAllLinesAsync ( this store, string path, |
Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
|
|
ReadAllText ( this store, string path ) : string |
Opens a text file, reads all lines of the file, and then closes the file.
|
|
ReadAllText ( this store, string path, |
Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
|
|
ReadAllTextAsync ( this store, string path ) : Task |
Opens a text file, reads all lines of the file, and then closes the file.
|
|
ReadAllTextAsync ( this store, string path, |
Opens a file, reads all lines of the file with the specified encoding, and then closes the file.
|
|
ReadLines ( this store, string path ) : IEnumerable |
Reads the lines of a file.
|
|
ReadLines ( this store, string path, |
Reads the lines of a file that has a specified encoding.
|
|
WriteAllBytes ( this store, string path, byte bytes ) : void |
Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten..
|
|
WriteAllBytesAsync ( this store, string path, byte bytes ) : System.Threading.Tasks.Task |
Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten..
|
|
WriteAllLines ( this store, string path, IEnumerable |
Creates a new file, writes a collection of strings to the file, and then closes the file.
|
|
WriteAllLines ( this store, string path, IEnumerable |
Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file.
|
|
WriteAllLinesAsync ( this store, string path, IEnumerable |
Creates a new file, writes a collection of strings to the file, and then closes the file.
|
|
WriteAllLinesAsync ( this store, string path, IEnumerable |
Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file.
|
|
WriteAllText ( this store, string path, string contents ) : void |
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
|
|
WriteAllText ( this store, string path, string contents, |
Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten.
|
|
WriteAllTextAsync ( this store, string path, string contents ) : System.Threading.Tasks.Task |
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
|
|
WriteAllTextAsync ( this store, string path, string contents, |
Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten.
|
메소드 | 설명 | |
---|---|---|
InternalWriteAllLines ( |
||
InternalWriteAllLinesAsync ( |
||
InternalWriteAllText ( |
||
InternalWriteAllTextAsync ( |
public static AppendAllLines ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to append the lines to. The file is created if it does not already exist. |
contents | IEnumerable |
The lines to append to the file. |
리턴 | void |
public static AppendAllLines ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to append the lines to. The file is created if it does not already exist. |
contents | IEnumerable |
The lines to append to the file. |
encoding | The character encoding to use. | |
리턴 | void |
public static AppendAllLinesAsync ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to append the lines to. The file is created if it does not already exist. |
contents | IEnumerable |
The lines to append to the file. |
리턴 | System.Threading.Tasks.Task |
public static AppendAllLinesAsync ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to append the lines to. The file is created if it does not already exist. |
contents | IEnumerable |
The lines to append to the file. |
encoding | The character encoding to use. | |
리턴 | System.Threading.Tasks.Task |
public static AppendAllText ( this store, string path, string contents ) : void | ||
store | this | The |
path | string | The file to append the specified string to. |
contents | string | The string to append to the file. |
리턴 | void |
public static AppendAllText ( this store, string path, string contents, |
||
store | this | The |
path | string | The file to append the specified string to. |
contents | string | The string to append to the file. |
encoding | The character encoding to use. | |
리턴 | void |
public static AppendAllTextAsync ( this store, string path, string contents ) : System.Threading.Tasks.Task | ||
store | this | The |
path | string | The file to append the specified string to. |
contents | string | The string to append to the file. |
리턴 | System.Threading.Tasks.Task |
public static AppendAllTextAsync ( this store, string path, string contents, |
||
store | this | The |
path | string | The file to append the specified string to. |
contents | string | The string to append to the file. |
encoding | The character encoding to use. | |
리턴 | System.Threading.Tasks.Task |
public static DeleteDirectory ( this store, string path, bool recursive ) : void | ||
store | this | The |
path | string | The relative path of the directory to delete within the isolated storage scope. |
recursive | bool | true to remove directories, subdirectories, and files in path; otherwise, false. |
리턴 | void |
public static ReadAllBytes ( this store, string path ) : byte[] | ||
store | this | The |
path | string | The file to open for reading. |
리턴 | byte[] |
public static ReadAllBytesAsync ( this store, string path ) : Task |
||
store | this | The |
path | string | The file to open for reading. |
리턴 | Task |
public static ReadAllLines ( this store, string path ) : string[] | ||
store | this | The |
path | string | The file to open for reading. |
리턴 | string[] |
public static ReadAllLines ( this store, string path, |
||
store | this | The |
path | string | The file to open for reading. |
encoding | The encoding applied to the contents of the file. | |
리턴 | string[] |
public static ReadAllLinesAsync ( this store, string path ) : Task |
||
store | this | The |
path | string | The file to open for reading. |
리턴 | Task |
public static ReadAllLinesAsync ( this store, string path, |
||
store | this | The |
path | string | The file to open for reading. |
encoding | The encoding applied to the contents of the file. | |
리턴 | Task |
public static ReadAllText ( this store, string path ) : string | ||
store | this | The |
path | string | The file to open for reading. |
리턴 | string |
public static ReadAllText ( this store, string path, |
||
store | this | The |
path | string | The file to open for reading. |
encoding | The encoding applied to the contents of the file. | |
리턴 | string |
public static ReadAllTextAsync ( this store, string path ) : Task |
||
store | this | The |
path | string | The file to open for reading. |
리턴 | Task |
public static ReadAllTextAsync ( this store, string path, |
||
store | this | The |
path | string | The file to open for reading. |
encoding | The encoding applied to the contents of the file. | |
리턴 | Task |
public static ReadLines ( this store, string path ) : IEnumerable |
||
store | this | The |
path | string | The file to read. |
리턴 | IEnumerable |
public static ReadLines ( this store, string path, |
||
store | this | The |
path | string | The file to read. |
encoding | The encoding that is applied to the contents of the file. | |
리턴 | IEnumerable |
public static WriteAllBytes ( this store, string path, byte bytes ) : void | ||
store | this | The |
path | string | The file to write to. |
bytes | byte | The bytes to write to the file. |
리턴 | void |
public static WriteAllBytesAsync ( this store, string path, byte bytes ) : System.Threading.Tasks.Task | ||
store | this | The |
path | string | The file to write to. |
bytes | byte | The bytes to write to the file. |
리턴 | System.Threading.Tasks.Task |
public static WriteAllLines ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to write to. |
contents | IEnumerable |
The lines to write to the file. |
리턴 | void |
public static WriteAllLines ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to write to. |
contents | IEnumerable |
The lines to write to the file. |
encoding | The character encoding to use. | |
리턴 | void |
public static WriteAllLinesAsync ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to write to. |
contents | IEnumerable |
The lines to write to the file. |
리턴 | System.Threading.Tasks.Task |
public static WriteAllLinesAsync ( this store, string path, IEnumerable |
||
store | this | The |
path | string | The file to write to. |
contents | IEnumerable |
The lines to write to the file. |
encoding | The character encoding to use. | |
리턴 | System.Threading.Tasks.Task |
public static WriteAllText ( this store, string path, string contents ) : void | ||
store | this | The |
path | string | The file to write to. |
contents | string | The string to write to the file. |
리턴 | void |
public static WriteAllText ( this store, string path, string contents, |
||
store | this | The |
path | string | The file to write to. |
contents | string | The string to write to the file. |
encoding | The encoding to apply to the string. | |
리턴 | void |
public static WriteAllTextAsync ( this store, string path, string contents ) : System.Threading.Tasks.Task | ||
store | this | The |
path | string | The file to write to. |
contents | string | The string to write to the file. |
리턴 | System.Threading.Tasks.Task |
public static WriteAllTextAsync ( this store, string path, string contents, |
||
store | this | The |
path | string | The file to write to. |
contents | string | The string to write to the file. |
encoding | The encoding to apply to the string. | |
리턴 | System.Threading.Tasks.Task |