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 ReadAttributeValue(attributeName);
  } else {
    return _xmlReader.GetAttributeWithNamespace(
      attributeName,
      EwsUtilities.GetNamespaceUri(xmlNamespace),
    );
  }
}