Click or drag to resize
AbstractFileReadAllText Method (String, Encoding)
Opens a text file, reads all lines of the file, and then closes the file.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
public abstract 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: String
See Also