Returns the value of the element having the specified name as
a float value.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract float GetElementAsFloat32( Name name )
Public MustOverride Function GetElementAsFloat32 ( name As Name ) As Single
public: virtual float GetElementAsFloat32( Name^ name ) abstract
Parameters
- name (Name)
- An element name.
Return Value
Single
The value of the element having specified name as a float value.
The value of the element having specified name as a float value.
Remarks
Same as calling AsElement.
GetElementAsFloat32(name)
Exceptions
Exception | Condition |
---|---|
NotFoundException |
This message does not contain an element having the specified name.
|
InvalidConversionException |
The value is not convertible to
a float value.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1