Click or drag to resize
FileReadAllText Method (String)
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 static string ReadAllText(
	string path
)

Parameters

path
Type: SystemString
Path to file

Return Value

Type: String
See Also