Partager via


SqlColumnBinder.GetDouble Method (DbDataReader, Double)

Retrieves the value of this column as a double from the given reader

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

Syntax

'Declaration
Public Function GetDouble ( _
    reader As DbDataReader, _
    nullValue As Double _
) As Double
public double GetDouble(
    DbDataReader reader,
    double nullValue
)
public:
double GetDouble(
    DbDataReader^ reader, 
    double nullValue
)
member GetDouble : 
        reader:DbDataReader * 
        nullValue:float -> float
public function GetDouble(
    reader : DbDataReader, 
    nullValue : double
) : double

Parameters

  • nullValue
    Type: System.Double

    Value to return if DB column is null.

Return Value

Type: System.Double
Returns Double.

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetDouble Overload

Microsoft.TeamFoundation.Framework.Server Namespace