Returns the value of the named sub-element as an int.
Declaration Syntax
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
Parameters
- name (Name)
- The name of the required sub-element.
Return Value
Int32
The value of the named sub-element as an int.
The value of the named sub-element as an int.
Remarks
Same as calling GetElement(name).
GetValueAsInt32().
Exceptions
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.9.6.1