StreamReader.EndOfStream Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the current stream position is at the end of the stream.
public:
property bool EndOfStream { bool get(); };
public bool EndOfStream { get; }
member this.EndOfStream : bool
Public ReadOnly Property EndOfStream As Boolean
Property Value
true
if the current stream position is at the end of the stream; otherwise false
.
Exceptions
The underlying stream has been disposed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.