Метод | Описание | |
---|---|---|
Delete ( string fileName ) : void |
Deletes the specified file.
|
|
Read ( ) : IEnumerable |
Gets an enumeration of all content from the files in DirectoryPath.
|
|
Read ( string fileName ) : string |
Reads the contents of the specified file.
|
|
Write ( string fileName, string data ) : void |
Writes the given data to a text file.
|
Метод | Описание | |
---|---|---|
GetFilePath ( string containerName ) : string |
public Delete ( string fileName ) : void | ||
fileName | string | The name of the file to be deleted excluding extension. |
Результат | void |
public Read ( string fileName ) : string | ||
fileName | string | The name of the file to be read, excluding extension. |
Результат | string |
public Write ( string fileName, string data ) : void | ||
fileName | string | The name of the file to be written excluding extension. |
data | string | The data to be written. |
Результат | void |