XmlNodeReader.ReadState 属性

定义

获取读取器的状态。Gets the state of the reader.

public:
 virtual property System::Xml::ReadState ReadState { System::Xml::ReadState get(); };
public override System.Xml.ReadState ReadState { get; }
member this.ReadState : System.Xml.ReadState
Public Overrides ReadOnly Property ReadState As ReadState

属性值

ReadState

ReadState 值之一。One of the ReadState values.

注解

备注

在 .NET Framework 2.0 中,建议的做法是 XmlReader 使用 XmlReaderSettings 类和方法创建实例 CreateIn the .NET Framework 2.0, the recommended practice is to create XmlReader instances using the XmlReaderSettings class and the Create method. 这允许您充分利用 .NET Framework 中引入的所有新功能。This allows you to take full advantage of all the new features introduced in the .NET Framework. 有关详细信息,请参阅 "参考" 页中的 "备注" 部分 XmlReaderFor more information, see the Remarks section in the XmlReader reference page.

适用于