ReadContentAsBoolean()

XmlReader::ReadContentAsBoolean() method

Reads the text content at the current position as a Boolean.

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

Return Value

The text content as a Boolean object.

Exceptions

ExceptionDescription
InvalidCastExceptionThe attempted cast is not valid.
FormatExceptionThe string format is not valid.

See Also