Click or drag to resize
XmlReaderIsStartElement Method (String, String)
Calls MoveToContent and tests if the current content node is a start tag or empty element tag and if the LocalName and NamespaceURI properties of the element found match the given strings.

Namespace: System.Xml
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public virtual bool IsStartElement(
	string localname,
	string ns
)

Parameters

localname
Type: SystemString
The string to match against the LocalName property of the element found.
ns
Type: SystemString
The string to match against the NamespaceURI property of the element found.

Return Value

Type: Boolean
true if the resulting node is an element. false if a node type other than XmlNodeType.Element was found or if the LocalName and NamespaceURI properties of the element do not match the specified strings.
Exceptions
ExceptionCondition
XmlExceptionIncorrect XML is encountered in the input stream.
See Also