get_ValueAsDouble()

XPathItem::get_ValueAsDouble() method

When overridden in a derived class, gets the item’s value as a Double.

virtual double System::Xml::XPath::XPathItem::get_ValueAsDouble()=0

Return Value

The item’s value as a Double.

Exceptions

ExceptionDescription
FormatExceptionThe item’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