get_ValueAsBoolean()

XmlAtomicValue::get_ValueAsBoolean() method

Returns the validated XML element or attribute’s value as a Boolean.

bool System::Xml::Schema::XmlAtomicValue::get_ValueAsBoolean() override

Return Value

The validated XML element or attribute’s value as a Boolean.

Exceptions

ExceptionDescription
FormatExceptionThe validated XML element or attribute’s value is not in the correct format for the Boolean type.
InvalidCastExceptionThe attempted cast to Boolean is not valid.

See Also