다음을 통해 공유


SqlColumnBinder.GetFloat Method (DbDataReader, Single, 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, _
    missingColumnValue As Single _
) As Single
public float GetFloat(
    DbDataReader reader,
    float nullValue,
    float missingColumnValue
)
public:
float GetFloat(
    DbDataReader^ reader, 
    float nullValue, 
    float missingColumnValue
)
member GetFloat : 
        reader:DbDataReader * 
        nullValue:float32 * 
        missingColumnValue:float32 -> float32
public function GetFloat(
    reader : DbDataReader, 
    nullValue : float, 
    missingColumnValue : float
) : float

Parameters

  • nullValue
    Type: System.Single

    Value to return if DB column is null.

  • missingColumnValue
    Type: System.Single

    Value to return if DB column not found.

Return Value

Type: System.Single

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetFloat Overload

Microsoft.TeamFoundation.Framework.Server Namespace