Returns the value of the named sub-element as a float.
| C# | Visual Basic | Visual C++ |
public abstract float GetElementAsFloat32( string name )
Public MustOverride Function GetElementAsFloat32 ( name As String ) As Single
public: virtual float GetElementAsFloat32( String^ name ) abstract
- name (String)
- The name of the required sub-element.
Single
The value of the named sub-element as a float.
The value of the named sub-element as a float.
Same as calling GetElement(name).
GetValueAsFloat32().
| 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.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1