編集

次の方法で共有


XmlValidatingReader.Read Method

Definition

Reads the next node from the stream.

public:
 override bool Read();
public override bool Read();
override this.Read : unit -> bool
Public Overrides Function Read () As Boolean

Returns

true if the next node was read successfully; false if there are no more nodes to read.

Remarks

Note

The XmlValidatingReader class is obsolete in .NET Framework 2.0. You can create a validating XmlReader instance by using the XmlReaderSettings class and the Create method. For more information, see the Remarks section of the XmlReader reference page.

When a reader is first created and initialized, there is no information available. You must call Read to read the first node.

Applies to

See also