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
- reader
Type: System.Data.Common.DbDataReader
nullValue
Type: System.SingleValue to return if DB column is null.
missingColumnValue
Type: System.SingleValue to return if DB column not found.
Return Value
Type: System.Single
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.