System::Xml::XmlReader::ReadElementContentAsBoolean method

XmlReader::ReadElementContentAsBoolean() method

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

virtual bool System::Xml::XmlReader::ReadElementContentAsBoolean()

ReturnValue

The element content as a Boolean object.

See Also

XmlReader::ReadElementContentAsBoolean(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 Boolean object.

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

ReturnValue

The element content as a Boolean object.

See Also