ReadAttributeValueWithNamespace method

String? ReadAttributeValueWithNamespace(
  1. XmlNamespace xmlNamespace,
  2. String attributeName
)
Reads the attribute value. The XML namespace. Name of the attribute.

Implementation

String? ReadAttributeValueWithNamespace(
    XmlNamespace xmlNamespace, String attributeName) {
  if (xmlNamespace == XmlNamespace.NotSpecified) {
    return this.ReadAttributeValue(attributeName);
  } else {
    return this._xmlReader.GetAttributeWithNamespace(
        attributeName, EwsUtilities.GetNamespaceUri(xmlNamespace));
  }
}