DB2®ResultSet.GetFieldType Method

Gets the Type that is the data type of the object.

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

Syntax


[Visual Basic]
Public Function GetFieldType( _
   ByVal i As Integer _
) As Type
[C#]
public Type GetFieldType(
   int i
);
[C++]
public: Type* GetFieldType(
   int i
);
[JScript]
public function GetFieldType(
   i : int
) : Type;

Parameters

i
The zero-based column ordinal.

Return value

The Type that is the data type of the object.

Exceptions

Exception type Condition
DB2Exception Invalid conversion.