Returns the value of this element at the specified index as a double.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract double GetValueAsFloat64( int index )
Public MustOverride Function GetValueAsFloat64 ( index As Integer ) As Double
public: virtual double GetValueAsFloat64( int index ) abstract
Parameters
- index (Int32)
- The index of the element whose value is requested.
Return Value
Double
The value of the element at the specified index as a double.
The value of the element at the specified index as a double.
Remarks
If the datatype of the element at the specified index is not double,
this method attempts to convert it to a double.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException |
index >= NumValues.
|
InvalidConversionException |
The value of the element at the
specified index cannot be converted to a double.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1