ElementGetElementAsFloat32 Method (Name) |
Returns the value of the named sub-element as a float.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax public abstract float GetElementAsFloat32(
Name name
)
Public MustOverride Function GetElementAsFloat32 (
name As Name
) As Single
public:
virtual float GetElementAsFloat32(
Name^ name
) abstract
abstract GetElementAsFloat32 :
name : Name -> float32
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the required sub-element.
Return Value
Type:
SingleThe value of the named sub-element as a float.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element does not exist.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to a float.
|
NotSupportedException |
Called on non-complex type.
|
Remarks See Also