ReadOuterXml method

String ReadOuterXml()
Reads the Outer XML at the given location.

Implementation

String ReadOuterXml() {
  if (!IsStartElement()) {
    throw ServiceXmlDeserializationException(
      "Strings.CurrentPositionNotElementStart",
    );
  }

  return _xmlReader.ReadOuterXml();
}