Returns the value of this element as an int.
| C# | Visual Basic | Visual C++ |
public abstract int GetValueAsInt32()
Public MustOverride Function GetValueAsInt32 As Integer
public: virtual int GetValueAsInt32() abstract
Int32
The value of this element as an int.
The value of this element as an int.
Same as calling GetValueAsInt32(0).
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | NumValues == 0.
|
| InvalidConversionException |
The value of this element cannot be converted to an int.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1