This documentation is archived and is not being maintained.

OdbcDataReader.GetFieldType Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

[Visual Basic]
Public Overridable Function GetFieldType( _
   ByVal i As Integer _
) As Type Implements IDataRecord.GetFieldType
[C#]
public virtual Type GetFieldType(
 int i
);
[C++]
public: virtual 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.

Implements

IDataRecord.GetFieldType

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OdbcDataReader Class | OdbcDataReader Members | System.Data.Odbc Namespace

Show: