XmlReader.ReadState 属性

定义

当在派生类中被重写时,获取读取器的状态。

public:
 abstract property System::Xml::ReadState ReadState { System::Xml::ReadState get(); };
public abstract System.Xml.ReadState ReadState { get; }
member this.ReadState : System.Xml.ReadState
Public MustOverride ReadOnly Property ReadState As ReadState

属性值

ReadState

指定读取器的状态的枚举值之一。

例外

在上一次异步操作完成之前调用了 XmlReader 方法。 在此情况下,会引发 InvalidOperationException 并显示消息“异步操作已在进行中。”

注解

ReadState 属性具有以下值之一:

适用于