ElementGetElementAsFloat32 Method (String) |
Returns the value of the named sub-element as a float.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.18.1.1
Syntax public abstract float GetElementAsFloat32(
string name
)
Public MustOverride Function GetElementAsFloat32 (
name As String
) As Single
public:
virtual float GetElementAsFloat32(
String^ name
) abstract
abstract GetElementAsFloat32 :
name : string -> float32
Parameters
- name
- Type: SystemString
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