Read all lines from a file.

Namespace: Composite.Core.IO.Plugins.IOProvider
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
string[] ReadAllLines(
	string path,
	Encoding encoding
)
Visual Basic
Function ReadAllLines ( _
	path As String, _
	encoding As Encoding _
) As String()
Visual C++
array<String^>^ ReadAllLines(
	String^ path, 
	Encoding^ encoding
)

Parameters

path
Type: System..::..String
Path to file to read from.
encoding
Type: System.Text..::..Encoding
Encoding to use when reading.

Return Value

Returns read lines.

See Also