Share via


EndOfStream Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value that indicates whether the current stream position is at the end of the stream.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

Syntax

'Declaration
Public ReadOnly Property EndOfStream As Boolean
public bool EndOfStream { get; }
public:
property bool EndOfStream {
    bool get ();
}
member EndOfStream : bool with get
function get EndOfStream () : boolean

Property Value

Type: System. . :: . .Boolean
true if the current stream position is at the end of the stream; otherwise false.

.NET Framework Security

See Also

Reference

StreamReader Class

System.IO Namespace