ReadElementContentAsInt()

XmlReader::ReadElementContentAsInt() method

Reads the current element and returns the contents as a 32-bit signed integer.

virtual int32_t System::Xml::XmlReader::ReadElementContentAsInt()

Return Value

The element content as a 32-bit signed integer.

XmlReader::ReadElementContentAsInt(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 32-bit signed integer.

virtual int32_t System::Xml::XmlReader::ReadElementContentAsInt(String localName, String namespaceURI)

Arguments

ParameterTypeDescription
localNameStringThe local name of the element.
namespaceURIStringThe namespace URI of the element.

Return Value

The element content as a 32-bit signed integer.

See Also