Compartir a través de


AdomdDataReader.GetFloat Método

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public Function GetFloat ( _
    ordinal As Integer _
) As Single
'Uso
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

Parámetros

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

Valor devuelto

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

Implementa

IDataRecord.GetFloat(Int32)

Vea también

Referencia

AdomdDataReader Clase

Espacio de nombres Microsoft.AnalysisServices.AdomdClient