Share via


ReadStartElement Method (String)

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

Checks that the current content node is an element with the given Name and advances the reader to the next node.

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

Syntax

'Declaration
Public Overridable Sub ReadStartElement ( _
    name As String _
)
public virtual void ReadStartElement(
    string name
)
public:
virtual void ReadStartElement(
    String^ name
)
abstract ReadStartElement : 
        name:string -> unit 
override ReadStartElement : 
        name:string -> unit 
public function ReadStartElement(
    name : String
)

Parameters

Remarks

A call to this method corresponds to a call to IsStartElement followed by a call to Read.

.NET Framework Security

See Also

Reference

XmlReader Class

ReadStartElement Overload

System.Xml Namespace