Partager via


Méthode GetFloat

Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Function GetFloat ( _
    i As Integer _
) As Single
'Utilisation
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As Single

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

Paramètres

Valeur de retour

Type : System. . :: . .Single
A data for the specified column.

Implémente

IDataRecord. . :: . .GetFloat(Int32)