ElementGetElementAsInt32 Method (Name) |
Returns the value of the named sub-element as an int.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax public abstract int GetElementAsInt32(
Name name
)
Public MustOverride Function GetElementAsInt32 (
name As Name
) As Integer
public:
virtual int GetElementAsInt32(
Name^ name
) abstract
abstract GetElementAsInt32 :
name : Name -> int
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the required sub-element.
Return Value
Type:
Int32The value of the named sub-element as an int.
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.
|
Remarks See Also