IsEndElement method

bool IsEndElement(
  1. String namespacePrefix,
  2. String localName
)
Determines whether current element is a end element. The namespace prefix. Name of the local.

Implementation

bool IsEndElement(String namespacePrefix, String localName) {
  String fullyQualifiedName = FormatElementName(namespacePrefix, localName);

  return this.NodeType == XmlNodeType.EndElement &&
      this._xmlReader.Name == fullyQualifiedName;
}