System::Xml::XmlReader::ReadElementContentAsString method

XmlReader::ReadElementContentAsString() method

Reads the current element and returns the contents as a String object.

virtual String System::Xml::XmlReader::ReadElementContentAsString()

ReturnValue

The element content as a String object.

See Also

XmlReader::ReadElementContentAsString(String, String) method

Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a String object.

virtual String System::Xml::XmlReader::ReadElementContentAsString(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name of the element.
namespaceURIStringThe namespace URI of the element.

ReturnValue

The element content as a String object.

See Also