ElementGetElementAsInt32 Method (String) |
Returns the value of the named sub-element as an int.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntax public abstract int GetElementAsInt32(
string name
)
Public MustOverride Function GetElementAsInt32 (
name As String
) As Integer
public:
virtual int GetElementAsInt32(
String^ name
) abstract
abstract GetElementAsInt32 :
name : string -> int
Parameters
- name
- Type: SystemString
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