Share via


ReadStartElement Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Checks that the current node is an element and advances the reader to the next node.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

Syntax

'Declaration
Public Overridable Sub ReadStartElement
public virtual void ReadStartElement()
public:
virtual void ReadStartElement()
abstract ReadStartElement : unit -> unit 
override ReadStartElement : unit -> unit 
public function ReadStartElement()

Remarks

This method calls IsStartElement followed by Read to position you on the content of that element found in the input stream.

.NET Framework Security

See Also

Reference

XmlReader Class

ReadStartElement Overload

System.Xml Namespace