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