XmlDictionaryReader.IsStartElement(XmlDictionaryString, XmlDictionaryString) Method

Definition

Tests whether the first tag is a start tag or empty element tag and if the local name and namespace URI match those of the current node.

public:
 virtual bool IsStartElement(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual bool IsStartElement (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
override this.IsStartElement : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> bool
Public Overridable Function IsStartElement (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString) As Boolean

Parameters

localName
XmlDictionaryString

An XmlDictionaryString that represents the local name of the attribute.

namespaceUri
XmlDictionaryString

An XmlDictionaryString that represents the namespace of the attribute.

Returns

Boolean

true if the first tag in the array is a start tag or empty element tag and matches localName and namespaceUri; otherwise false.

Applies to