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
- reader
Type: System.Data.Common.DbDataReader
nullValue
Type: System.SingleValue to return if DB column is null.
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.