Click or drag to resize
XmlReaderIsStartElement Method (String)
Calls MoveToContent and tests if the current content node is a start tag or empty element tag and if the Name property of the element found matches the given argument.

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 name
)

Parameters

name
Type: SystemString
The string matched against the Name property of the element found.

Return Value

Type: Boolean
true if the resulting node is an element and the Name property matches the specified string. false if a node type other than XmlNodeType.Element was found or if the element Name property does not match the specified string.
Exceptions
ExceptionCondition
XmlExceptionIncorrect XML is encountered in the input stream.
See Also