XmlReader.EOF Property

Definition

When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream.

public:
 abstract property bool EOF { bool get(); };
public abstract bool EOF { get; }
member this.EOF : bool
Public MustOverride ReadOnly Property EOF As Boolean

Property Value

true if the reader is positioned at the end of the stream; otherwise, false.

Exceptions

An XmlReader method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."

Applies to