Returns the value of the element having the specified name as
an int value.
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)
- An element name.
Return Value
Int32
The value of the element having specified name as an int value.
The value of the element having specified name as an int value.
Remarks
Same as calling AsElement.
GetElementAsInt32(name)
Exceptions
Exception | Condition |
---|---|
NotFoundException |
This message does not contain an element having the specified name.
|
InvalidConversionException |
The value is not convertible to
an int value.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1