get_ValueAsDouble()

XmlAtomicValue::get_ValueAsDouble() method

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

double System::Xml::Schema::XmlAtomicValue::get_ValueAsDouble() override

Return Value

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

Exceptions

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

See Also