Click or drag to resize
Galactic API

FileReadAllAsText Method (String)

Reads the entire contents of a text file, and returns it as a string.

Namespace:  Galactic.FileSystem
Assembly:  Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public static string ReadAllAsText(
	string path
)

Parameters

path
Type: SystemString
The path to the file to read.

Return Value

Type: String
The contents of the text file as a string, null if it could not be read or there was an error while reading.
See Also