IsEndElementWithNamespace method

bool IsEndElementWithNamespace(
  1. XmlNamespace xmlNamespace,
  2. String? localName
)
Determines whether current element is a end element. The XML namespace. Name of the local.

Implementation

bool IsEndElementWithNamespace(XmlNamespace xmlNamespace, String? localName) {
  return (LocalName == localName) &&
      (NodeType == XmlNodeType.EndElement) &&
      ((NamespacePrefix == EwsUtilities.GetNamespacePrefix(xmlNamespace)) ||
          (NamespaceUri == EwsUtilities.GetNamespaceUri(xmlNamespace)));
}