SqlColumnBinder.GetFloat Method (DbDataReader, Single)

Retrieves the value of this column as float from the given reader.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetFloat ( _
    reader As DbDataReader, _
    nullValue As Single _
) As Single
public float GetFloat(
    DbDataReader reader,
    float nullValue
)
public:
float GetFloat(
    DbDataReader^ reader, 
    float nullValue
)
member GetFloat : 
        reader:DbDataReader * 
        nullValue:float32 -> float32
public function GetFloat(
    reader : DbDataReader, 
    nullValue : float
) : float

Parameters

  • nullValue
    Type: System.Single

    Value to return if DB column is null.

Return Value

Type: System.Single

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetFloat Overload

Microsoft.TeamFoundation.Framework.Server Namespace