FileReadAllText Method (String, Encoding) |
Opens a text file, reads all lines of the file, and then closes the file.
Namespace: CMS.AmazonStorageAssembly: CMS.AmazonStorage (in CMS.AmazonStorage.dll) Version: 11.0.0
Syntax public override string ReadAllText(
string path,
Encoding encoding
)
Parameters
- path
- Type: SystemString
Path to file - encoding
- Type: System.TextEncoding
The character encoding to use
Return Value
Type:
StringSee Also