ReadElementStringValueWithPrefix method

String? ReadElementStringValueWithPrefix(
  1. String namespacePrefix,
  2. String localName
)
Reads the element value. The namespace prefix. Name of the local.

Implementation

String? ReadElementStringValueWithPrefix(
    String namespacePrefix, String localName) {
  if (!this.IsStartElementWithPrefix(namespacePrefix, localName)) {
    this.ReadStartElement(namespacePrefix, localName);
  }

  String? value = null;

  if (!this.IsEmptyElement) {
    value = this.ReadValue();
  }

  return value;
}