AdomdDataReader.GetFloat Method

Returns a Float that contains the value from the specified column.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetFloat ( _
    ordinal As Integer _
) As Single
'Usage
Dim instance As AdomdDataReader 
Dim ordinal As Integer 
Dim returnValue As Single 

returnValue = instance.GetFloat(ordinal)
public float GetFloat(
    int ordinal
)
public:
virtual float GetFloat(
    int ordinal
) sealed
abstract GetFloat : 
        ordinal:int -> float32  
override GetFloat : 
        ordinal:int -> float32
public final function GetFloat(
    ordinal : int
) : float

Parameters

  • ordinal
    Type: System.Int32
    The zero-based ordinal position of the column to be retrieved.

Return Value

Type: System.Single
A Single that contains the value of the specified column.

Implements

IDataRecord.GetFloat(Int32)

See Also

Reference

AdomdDataReader Class

Microsoft.AnalysisServices.AdomdClient Namespace