Bloomberg API for .NET
GetValueAsFloat32 Method (index)
NamespacesBloomberglp.BlpapiElementGetValueAsFloat32(Int32)
Returns the value of this element at the specified index as a float.
Declaration Syntax
C#Visual BasicVisual C++
public abstract float GetValueAsFloat32(
	int index
)
Public MustOverride Function GetValueAsFloat32 ( 
	index As Integer
) As Single
public:
virtual float GetValueAsFloat32(
	int index
) abstract
Parameters
index (Int32)
The index of the element whose value is requested.
Return Value
Single
The value of the element at the specified index as a float.
Remarks
If the datatype of the element at the specified index is not float, this method attempts to convert it to a float.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues.
InvalidConversionException The value of the element at the specified index cannot be converted to a float.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1