get_ValueAsDouble()

XPathNavigator::get_ValueAsDouble() method

Returns the current node’s value as a Double.

double System::Xml::XPath::XPathNavigator::get_ValueAsDouble() override

Return Value

The current node’s value as a Double.

Exceptions

ExceptionDescription
FormatExceptionThe current node’s string value cannot be converted to a Double.
InvalidCastExceptionThe attempted cast to Double is not valid.

See Also