System.Data Namespace IDataRecord Class
Returns the value of the specified column as a single-precision floating point number.
[ VB ]
NotOverridable Public Function GetFloat ( _
ByVal index As Integer _
) As Single
[ C# ]
public float GetFloat (
int index
);
[ C++ ]
public: __sealed float GetFloat (
int index
);
[ JScript ]
public function GetFloat (
index : int
) : float
- index
- The zero-based column ordinal.
The value of the column.
No conversions are performed, therefore the data retrieved must already be a single-precision floating point number.
Call IsDBNull to check for null values before calling this method.
IDataRecord Members