XmlReader.EOF 属性
定义
当在派生类中被重写时,获取一个值,该值指示此读取器是否定位在流的结尾。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
属性值
如果此读取器定位在流的结尾,则为 true;否则为 false。true if the reader is positioned at the end of the stream; otherwise, false.
例外
在上一次异步操作完成之前调用了 XmlReader 方法。An XmlReader method was called before a previous asynchronous operation finished. 在此情况下,会引发 InvalidOperationException 并显示消息“异步操作已在进行中。”In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."