ReadStartElement Method (String, 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 LocalName and NamespaceURI and advances the reader to the next node.

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

public virtual void ReadStartElement(
	string localname,
	string ns
)

Parameters

localname
Type: System..::..String
The local name of the element.
ns
Type: System..::..String
The namespace URI of the element.

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

Show: