IBM Data Server Client Packages Version 10.1

DB2DataReader.GetDB2Real370 Method

Creates an instance of a DB2Real370 object from column data.

Namespace:
IBM®.Data.DB2®
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax

[Visual Basic]
Public Function GetDB2Real370( _
   ByVal i As Integer _
) As IBM.Data.DB2Types.DB2Real370
[C#]
public IBM.Data.DB2Types.DB2Real370 GetDB2Real370 (int i)
[C++]
public: IBM.Data.DB2Types.DB2Real370 GetDB2Real370(
   int i
);
[JScript]
public function GetDB2Real370(
   i : int
) : IBM.Data.DB2Types.DB2Real370;

Parameters

i
The zero-based column ordinal.

Return value

A DB2Real370 object representing the column value.

Remarks

No conversions are performed.

The following table describes the mapping between the return object data type and the data server data type.
DB2Type Data Type DB2 Data Type Informix® Data Type
DB2Real370 REAL REAL, SMALLFLOAT

Exceptions

Exception type Condition
InvalidCastException The specified cast is not valid.
DB2Exception Invalid conversion.

Version information

Last update
This topic was last updated for: IBM DB2 Version 9.5
.NET Framework version
Supported in: 2.0, 3.0, 3.5, and 4.0
IBM Data Server Client
Supported in: IBM DB2 Version 9