Concept Framework 2.0 documentation | Contents | Index |
Name | Version | Deprecated |
ReadFile | version 1.0 | no |
string ReadFile(string path) |
path | [in] A string containing the path of existing file. |
Reads the entire content of a file into a string. Warning: This function provides very small error control (it returns an empty string if the file couldn't be read, but it returns the same when reading a file that has 0 bytes in length).
This is the recommended function to use when working with small to medium files. (file sizes smaller than 50 megabytes. When using on large files, you'll have the entire file in the memory). For writing a file, you may want to check the WriteFile function. |
Documented by Simona Plesuvu, generation time: Fri Jan 21 18:06:20 2011 GMT | (c)2011 RadGs Software |