Returns the value of the named sub-element as an int.
| C# | Visual Basic | Visual C++ |
public abstract int GetElementAsInt32( Name name )
Public MustOverride Function GetElementAsInt32 ( name As Name ) As Integer
public: virtual int GetElementAsInt32( Name^ name ) abstract
- name (Name)
- The name of the required sub-element.
Int32
The value of the named sub-element as an int.
The value of the named sub-element as an int.
Same as calling GetElement(name).
GetValueAsInt32().
| Exception | Condition |
|---|---|
| NotFoundException |
The named sub-element does not exist.
|
| InvalidConversionException |
The value of the named sub-element cannot be converted to an int.
|
| NotSupportedException |
Called on non-complex type.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1