XmlReaderReadStartElement Method (String, String) |
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.XmlAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax public virtual void ReadStartElement(
string localname,
string ns
)
Parameters
- localname
- Type: SystemString
The local name of the element. - ns
- Type: SystemString
The namespace URI of the element.
Exceptions Exception | Condition |
---|
XmlException | Incorrect XML was encountered in the input stream.-or-The LocalName and NamespaceURI properties of the element found do not match the given arguments. |
See Also