Returns the value of this element at the specified index as an int.
Declaration Syntax
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
Parameters
- index (Int32)
- The index of the element whose value is requested.
Return Value
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.
Remarks
If the datatype of the element at the specified index is not int,
this method attempts to convert it to an int.
Exceptions
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.8.10.1