Opens a text file, reads all lines of the file, and then closes the file.
Namespace: CMS.IO.ZipAssembly: CMS.IO (in CMS.IO.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- path
- Type: System String
Path to file
- encoding
- Type: System.Text Encoding
The character encoding to use
Return Value
Type: StringSee Also