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( string name )
Public MustOverride Function GetElementAsFloat32 ( name As String ) As Single
public: virtual float GetElementAsFloat32( String^ name ) abstract
Parameters
- name (String)
- 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.8.10.1