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