Read all lines from a file.

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

Syntax

C#
IEnumerable<string> ReadLines(
	string path,
	Encoding encoding
)
Visual Basic
Function ReadLines ( _
	path As String, _
	encoding As Encoding _
) As IEnumerable(Of String)
Visual C++
IEnumerable<String^>^ ReadLines(
	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 all read lines.

See Also