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( string name )
Public MustOverride Function GetElementAsInt32 ( name As String ) As Integer
public: virtual int GetElementAsInt32( String^ name ) abstract
Parameters
- name (String)
- 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