UtilsReadLines Method Naiad Help

[This is preliminary documentation and is subject to change.]

Enumerates lines of text from a stream

Namespace: Microsoft.Research.Naiad.Frameworks.Storage
Assembly: Microsoft.Research.Naiad.Storage (in Microsoft.Research.Naiad.Storage.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static IEnumerable<string> ReadLines(
	this Stream stream
)

Parameters

stream
Type: System.IOStream
source stream

Return Value

Type: IEnumerableString
Each line of text in the source stream

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Stream. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference